From: Alfredo Deza Date: Mon, 25 Jan 2016 14:11:37 +0000 (-0500) Subject: when the build is done, tell mita to destroy the node to ensure it gets a new one X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6dca2329ea67b645bfdbe79645692058dd136a5f;p=ceph-build.git when the build is done, tell mita to destroy the node to ensure it gets a new one Signed-off-by: Alfredo Deza --- diff --git a/ceph-ansible-pull-requests/config/definitions/ceph-ansible-pull-requests.yml b/ceph-ansible-pull-requests/config/definitions/ceph-ansible-pull-requests.yml index 08630b2a2..4006b9b27 100644 --- a/ceph-ansible-pull-requests/config/definitions/ceph-ansible-pull-requests.yml +++ b/ceph-ansible-pull-requests/config/definitions/ceph-ansible-pull-requests.yml @@ -59,3 +59,11 @@ !include-raw: - ../../../scripts/build_utils.sh - ../../build/build + + publishers: + - github-notifier + - postbuildscript: + script-only-if-succeeded: False + script-only-if-failed: True + builders: + - shell: "curl -X POST https://mita.ceph.com/api/nodes/${NODE_NAME}/delete/"