]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-volume-ansible-prs: do not use raw xml, use the jjb option for ghprb 821/head
authorAlfredo Deza <adeza@redhat.com>
Tue, 8 Aug 2017 18:02:41 +0000 (14:02 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 8 Aug 2017 18:03:02 +0000 (14:03 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-volume-ansible-prs/config/definitions/ceph-volume-pr.yml

index eebcda025e00490592c9730439773c2143cb1d90..49c8ab9b4699ee900bdb30500ac834c5cd32319f 100644 (file)
@@ -35,6 +35,7 @@
 
     triggers:
       - github-pull-request:
+          cancel-builds-on-update: true
           allow-whitelist-orgs-as-admins: true
           org-list:
             - ceph
             - ../../build/build
 
     publishers:
-      - raw:
-          xml: |
-            <org.jenkinsci.plugins.ghprb.extensions.build.GhprbCancelBuildsOnUpdate>
-              <overrideGlobal>false</overrideGlobal>
-            </org.jenkinsci.plugins.ghprb.extensions.build.GhprbCancelBuildsOnUpdate>
       - postbuildscript:
           script-only-if-succeeded: False
           script-only-if-failed: True