vais-ral / CCPi-VirtualMachine

Set of scripts and configuration to prepare VM based on Scientific Linux 7 from scratch with CCPi from binaries or source codes.
MIT License
2 stars 2 forks source link

Unsuccessful build may be stated as Success #30

Closed paskino closed 5 years ago

paskino commented 5 years ago

In https://github.com/vais-ral/CCPi-Framework/blob/master/build/jenkins-build.sh, we need bash -e to make bash fail hard. Without -e bash continues running the script and exits with the status of the last command it runs (which is echo git branch is not master, will not upload to anaconda.).

See https://github.com/vais-ral/CCPi-Framework/issues/206

TomasKulhanek commented 5 years ago

testing bash -xe in all jenkins build.