mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Fixed git log command
This commit is contained in:
parent
ea5c37cb8b
commit
bd089bf308
1 changed files with 1 additions and 1 deletions
|
@ -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 remotes/origin/master..HEAD | grep -o \'\\[ci[^\\[]*\\]\' | sed -E \'s/\\[ci (.*)\\]/\\1/\'").trim().split("\n")
|
||||
for (opt in options) {
|
||||
def idx = opt.indexOf('=');
|
||||
if (idx > 0) {
|
||||
|
|
Loading…
Reference in a new issue