Create jobs to verify changes to scenarios
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-periodic-engine.yaml
index cbd866eda8b64779eb02f3a8cf8ed0928815717a..5cf2eace88c70d1497d6b5aac8096ee70e2cfe99 100644 (file)
           slave-label: 'baremetal-deploy'
 
     phase:
-      - deploy
-      - functest
-      - yardstick
+      - deploy:
+          build-timeout: 60
+      - functest:
+          build-timeout: 120
+      - yardstick:
+          build-timeout: 30
 
     jobs:
       - 'cloud-infra-periodic-engine-{os}-{type}-{stream}'
@@ -90,7 +93,7 @@
       - nordix-gerrit-parameters
       - label:
           name: SLAVE_LABEL
-          default: 'vpod-deploy-city'
+          default: '{slave-label}'
           description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
       - string:
           name: DISTRIBUTION
           description: 'Scenario to deploy and test'
       - string:
           name: TEST_SUITE
-          default: 'healthcheck'
+          default: 'smoke'
           description: 'Test suite to run'
       - string:
           name: CLEANUP
           use-build-blocker: true
           blocking-jobs:
             - 'cloud-infra-verify-engine-{os}-.*'
+            - 'cloud-infra-verify-scenario-{os}-.*'
             - 'cloud-infra-periodic-engine-{os}-.*'
             - 'cloud-infra-os-.*'
             - 'cloud-infra-k8-.*'
 
     wrappers:
       - build-timeout:
-          timeout: 120
+          timeout: 210
       - fix-workspace-permissions
 
     scm:
           refspec: ''
 
     triggers:
-      - timed: 'H H/2 * * *'
+      - timed: 'H H/3 * * *'
 
     builders:
       - multijob:
           description: 'Test framework to use'
       - string:
           name: TEST_SUITE
-          default: 'healthcheck'
+          default: 'smoke'
           description: 'Test suite to run'
       - string:
           name: TEST_REPO_URL
 
     wrappers:
       - build-timeout:
-          timeout: 120
+          timeout: '{build-timeout}'
       - fix-workspace-permissions
 
     scm: