]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
jenkins: show steps and fail fast during job execution 165/head
authorKen Dreyer <ken.dreyer@inktank.com>
Fri, 21 Feb 2014 18:05:02 +0000 (11:05 -0700)
committerKen Dreyer <ken.dreyer@inktank.com>
Fri, 21 Feb 2014 18:20:04 +0000 (11:20 -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>
scripts/jenkins-build
scripts/jenkins-pull-requests-build

index 9d7a68173c126f86a7fe1cc75d0631599d507941..cf2b06f734bb77561bc7fd72a7be228f600331cf 100755 (executable)
@@ -4,6 +4,7 @@
 # http://jenkins.ceph.com/job/ceph-deploy/
 
 set -x
+set -e
 
 # Jenkins will set $RELEASE as a parameter in the job configuration.
 if $RELEASE ; then
index 6a4da911b4e24923c3c41dcfb034ebcdc80882e4..24f286757d4da2ca19f248d2c79b1d6a8963d296 100644 (file)
@@ -1,5 +1,8 @@
 #!/bin/sh
 
+set -x
+set -e
+
 # This is the script that runs inside Jenkins for each pull request.
 # http://jenkins.ceph.com/job/ceph-deploy-pull-requests/