]>
git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
jjb: actually fail if a command doesn't return 0
this sets `-euxo pipefail` to avoid this situation :
```
++ sort
++ grep -v jenkins-job-builder
++ jq -r '.jobs[].name'
/tmp/jenkins7521600802673204021.sh: line 1043: jq: command not found
++ curl -s https://2.jenkins.ceph.com/api/json
[PostBuildScript] - Executing post build scripts.
[jenkins-job-builder] $ /bin/sh -xe /tmp/jenkins7309655147676749318.sh
+ rm /home/jenkins-build/.jenkins_jobs.2.jenkins.ceph.com.ini
Finished: SUCCESS
```
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>