From: Andrew Schoen Date: Fri, 8 Jan 2016 22:46:16 +0000 (-0600) Subject: ceph-pull-requests: use a postbuildscript to only reboot on failure X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F287%2Fhead;p=ceph-build.git ceph-pull-requests: use a postbuildscript to only reboot on failure Signed-off-by: Andrew Schoen --- diff --git a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml index 99de8f79..81d92368 100644 --- a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml +++ b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml @@ -47,7 +47,11 @@ 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"