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

Escaping fix (hopefully)

This commit is contained in:
Ewout Prangsma 2018-03-27 08:58:16 +02:00
parent d8dc24efa4
commit ea5c37cb8b
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698

View file

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