File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,9 @@ jobs:
110
110
!:taskana-rest-spring-example-boot,!:taskana-rest-spring-example-wildfly,\
111
111
!:taskana-simplehistory-spring-test,!:taskana-simplehistory-rest-spring-example
112
112
before_cache : rm -rf "$HOME/.m2/repository/pro/taskana"
113
- after_success : ci/change_version.sh -i -m . && ci/commitPoms.sh
113
+ # travis_terminate is necessary since after_success is a job phase which can change the build result.
114
+ # it is not documented, so this is a little hack. see: https://docs.travis-ci.com/user/job-lifecycle/#breaking-the-build
115
+ after_success : ci/change_version.sh -i -m . && ci/commitPoms.sh || travis_terminate 1
114
116
deploy :
115
117
provider : cloudfoundry
116
118
username : $BLUEMIX_ACCOUNT
Original file line number Diff line number Diff line change @@ -61,9 +61,7 @@ function main() {
61
61
git config --global user.name $GH_USERNAME
62
62
63
63
# commit all poms
64
- git checkout -b " $branch "
65
- # to compensate new updates
66
- git pull
64
+ git checkout " $branch "
67
65
git add " ./*pom.xml"
68
66
for file in " $@ " ; do
69
67
[[ -n " $file " ]] && git add " $file "
You can’t perform that action at this time.
0 commit comments