]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-pull-requests: only run teardown on failure 552/head
authorAndrew Schoen <aschoen@redhat.com>
Thu, 17 Nov 2016 20:59:23 +0000 (14:59 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 17 Nov 2016 20:59:23 +0000 (14:59 -0600)
If the tests succeed tox will clean up everything for us so
we only need to run this on failure.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-ansible-pull-requests/config/definitions/ceph-ansible-pull-requests.yml

index 5da00d65ebc490256c30c7e780c9122f434bdbf5..20e6c89e8ce2615f80d9cabe0b0ba172650fe752 100644 (file)
@@ -59,6 +59,6 @@
     publishers:
       - postbuildscript:
           script-only-if-succeeded: False
-          script-only-if-failed: False
+          script-only-if-failed: True
           builders:
             - shell: !include-raw ../../build/teardown