jjb: xci: Add postbuild publisher script to remove clean VM
[releng.git] / jjb / xci / xci-verify-jobs.yml
index 3902e8e..82ca5ab 100644 (file)
                 - compare-type: ANT
                   pattern: 'xci/scripts/vm/**'
             - project-compare-type: 'REG_EXP'
-              project-pattern: 'sfc|bgpvpn'
+              project-pattern: 'sfc|sdnvpn'
               branches:
                 - branch-compare-type: 'ANT'
                   branch-pattern: '**/{branch}'
               kill-phase-on: NEVER
               abort-all-job: true
 
+    publishers:
+      - postbuildscript:
+          script-only-if-succeeded: false
+          script-only-if-failed: false
+          builders:
+            - shell:
+                !include-raw: ./xci-cleanup.sh
+
+
 - job-template:
     name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
 
 - builder:
     name: 'xci-verify-healthcheck-macro'
     builders:
+      - shell:
+          !include-raw: ./xci-run-functest.sh
       - shell:
           !include-raw: ./xci-cleanup.sh