]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
jenkins: fail fast during job execution
authorKen Dreyer <ken.dreyer@inktank.com>
Fri, 21 Feb 2014 18:11:47 +0000 (11:11 -0700)
committerKen Dreyer <ken.dreyer@inktank.com>
Fri, 21 Feb 2014 18:11:47 +0000 (11:11 -0700)
Jenkins will dynamically write the commands in its database into a
script and run it with "-x" and "-e" in order to display each step and
fail after the first step fails.

Now that our commands are stored in Git, ensure that we're doing the
same thing.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
jenkins/jenkins-pull-requests-build

index 4513b6065893bc2058476f1da12d1b15fddb4d16..36203d20f8d6d315bab003b996767fdb97df6d44 100755 (executable)
@@ -4,6 +4,7 @@
 # http://jenkins.ceph.com/job/teuthology-pull-requests/
 
 set -x
+set -e
 
 virtualenv --version
 virtualenv --system-site-packages --distribute venv