rebuild commit
This commit is contained in:
parent
7a490e4599
commit
06e0b8efe1
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -19,3 +19,16 @@ node('Lithium'){
|
||||
sh label: '', script: 'npm run build'
|
||||
}
|
||||
}
|
||||
def cmd(command) {
|
||||
// при запуске Jenkins не в режиме UTF-8 нужно написать chcp 1251 вместо chcp 65001
|
||||
if (isUnix()) { sh "${command}" } else { bat "chcp 65001\n${command}"}
|
||||
}
|
||||
|
||||
private boolean lastCommitIsBumpCommit() {
|
||||
lastCommit = bat([script: 'git log -1', returnStdout: true])
|
||||
if (lastCommit.contains("Author: jenkins")) {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user