rebuild commit
This commit is contained in:
parent
ba71eee97f
commit
615f708600
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -25,7 +25,7 @@ def cmd(command) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean lastCommitIsBumpCommit() {
|
private boolean lastCommitIsBumpCommit() {
|
||||||
lastCommit = bat([script: 'git log -1', returnStdout: true])
|
lastCommit = cmd([script: 'git log -1', returnStdout: true])
|
||||||
if (lastCommit.contains("Author: jenkins")) {
|
if (lastCommit.contains("Author: jenkins")) {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user