1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

Debugging groovy

This commit is contained in:
Ewout Prangsma 2018-03-27 09:05:50 +02:00
parent bd089bf308
commit 158df395eb
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698

View file

@ -22,7 +22,9 @@ def notifySlack(String buildStatus = 'STARTED') {
def fetchParamsFromGitLog() {
def options = sh(returnStdout: true, script: "git log --reverse remotes/origin/master..HEAD | grep -o \'\\[ci[^\\[]*\\]\' | sed -E \'s/\\[ci (.*)\\]/\\1/\'").trim().split("\n")
for (opt in options) {
println("Processing option ${opt}");
def idx = opt.indexOf('=');
println("Processing option ${opt} with idx=${idx}");
if (idx > 0) {
def key = opt.subString(0, idx);
def value = opt.subString(idx+1);