Closed paskino closed 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.).
bash -e
bash
-e
echo git branch is not master, will not upload to anaconda.
See https://github.com/vais-ral/CCPi-Framework/issues/206
testing bash -xe in all jenkins build.
In https://github.com/vais-ral/CCPi-Framework/blob/master/build/jenkins-build.sh, we need
bash -e
to makebash
fail hard. Without-e
bash continues running the script and exits with the status of the last command it runs (which isecho git branch is not master, will not upload to anaconda.
).See https://github.com/vais-ral/CCPi-Framework/issues/206