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:
parent
bd089bf308
commit
158df395eb
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue