]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-pull-requests: use a postbuildscript to only reboot on failure 287/head
authorAndrew Schoen <aschoen@redhat.com>
Fri, 8 Jan 2016 22:46:16 +0000 (16:46 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 8 Jan 2016 22:51:34 +0000 (16:51 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-pull-requests/config/definitions/ceph-pull-requests.yml

index 99de8f7928f0a7a69549f7d27d953381c5e49298..81d923687aaaeabedff80cbbbca242c63c55f4c3 100644 (file)
 
     builders:
       - shell: "./run-make-check.sh"
-      - shell: "sudo reboot"
 
     publishers:
       - github-notifier
+      - postbuildscript:
+          script-only-if-succeeded: False
+          script-only-if-failed: True
+          builders:
+            - shell: "sudo reboot"