]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
jenkins: show errors and fail fast during job execution 7/head
authorKen Dreyer <ken.dreyer@inktank.com>
Fri, 21 Feb 2014 18:13:17 +0000 (11:13 -0700)
committerKen Dreyer <ken.dreyer@inktank.com>
Fri, 21 Feb 2014 18:14:24 +0000 (11:14 -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/build
jenkins/package
jenkins/setup

index 3bb1307b43ffd4ed88b3ba6ec400beaa77c3a81d..645f3df4f1b8ef5561fc1815952df5f92b599d12 100644 (file)
@@ -3,6 +3,9 @@
 # This is a script that runs inside Jenkins.
 # http://jenkins.ceph.com/job/ceph-build/
 
+set -x
+set -e
+
 # Jenkins will set $RELEASE as a parameter in the job configuration.
 if $RELEASE ; then
         # This is a formal release. Sign it with the release key.
index 90d020146cb00a23c82f5958880095010841f9b1..d5ead283f3ca478267f60d9b4cdd122ebf83b026 100644 (file)
@@ -3,6 +3,9 @@
 # This is a script that runs inside Jenkins.
 # http://jenkins.ceph.com/job/ceph-package/
 
+set -x
+set -e
+
 #
 for dir in * ; do
    echo $dir
index a0b12c58068d5e4d6bc144de69dae3defd7289d5..e6cb626f59bf1fa727cd3af334ef153fbf86909e 100644 (file)
@@ -3,6 +3,9 @@
 # This is a script that runs inside Jenkins.
 # http://jenkins.ceph.com/job/ceph-setup/
 
+set -x
+set -e
+
 # Jenkins will set $RELEASE as a parameter in the job configuration.
 if $RELEASE ; then
         # This is a formal release. Sign it with the release key.