Pipeline does not produce error if there's nothing to commit.
This commit is contained in:
parent
9b6baa4df3
commit
289f159b58
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -28,7 +28,7 @@ pipeline {
|
||||
sh "git clean -dfX"
|
||||
sh "git add mods/**"
|
||||
sh "git add config/**"
|
||||
sh "git commit -a -m 'Automatic integration of latest modpack.'"
|
||||
sh "git commit -a -m 'Automatic integration of latest modpack.' && exit 0"
|
||||
sshagent(['108c5045-64d1-42a6-acd7-a39da5e096d1']) {
|
||||
sh "git push"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user