rebuild commit

This commit is contained in:
pumpurumer 2022-09-28 14:29:32 +04:00
parent ba71eee97f
commit 615f708600

2
Jenkinsfile vendored
View File

@ -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 {