Update Jenkins Job Builder to version 2.9.1
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-verify-jobs.yaml
index a2e2050d665c5670f4662120e4045f9d6f5ddb91..d1575094d85ef470f44f0b8cc82055d22ae13d7f 100644 (file)
@@ -21,7 +21,7 @@
 - project:
     name: 'cloud-infra-verify'
 
-    project: 'cloud-infra'
+    project: 'infra/engine'
 
     stream:
       - 'master':
       - label:
           name: SLAVE_LABEL
           default: 'cloud-infra-vpod'
-          all-nodes: false
-          node-eligibility: 'ignore-offline'
       - string:
           name: DISTRO
           default: '{distro}'
+      - string:
+          name: CLEANUP
+          default: 'true'
 
     properties:
       - logrotate
@@ -92,7 +93,7 @@
 
     triggers:
       - nordix-gerrit-trigger-patchset-created:
-          project: 'infra/engine|infra/swconfig'
+          project: 'infra\/engine|infra\/swconfig'
           branch: '{branch}'
           files: '**'
 
               current-parameters: true
               predefined-parameters: |
                 DISTRO={distro}
+                CLEANUP=$CLEANUP
                 GERRIT_PROJECT=$GERRIT_PROJECT
                 GERRIT_BRANCH=$GERRIT_BRANCH
                 GERRIT_REFSPEC=$GERRIT_REFSPEC
               current-parameters: true
               predefined-parameters: |
                 DISTRO={distro}
+                CLEANUP=$CLEANUP
                 GERRIT_PROJECT=$GERRIT_PROJECT
                 GERRIT_BRANCH=$GERRIT_BRANCH
                 GERRIT_REFSPEC=$GERRIT_REFSPEC
       - string:
           name: DISTRO
           default: 'ubuntu1604'
+      - string:
+          name: CLEANUP
+          default: 'false'
 
     wrappers:
       - build-timeout: