Use common phase jobs for scenario periodic jobs 58/1158/1
authorFatih Degirmenci <fdegir@gmail.com>
Wed, 8 May 2019 20:04:42 +0000 (22:04 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Wed, 8 May 2019 20:04:42 +0000 (22:04 +0200)
Change-Id: I4dd1c6eaee69f8790bcf82b9405edfbf37bf3dd4

jjb/cloud-infra/cloud-infra-periodic-scenario.yaml

index 354b54db5ae929054ab6d2f3ea60eea78bfc3bb2..537fe292eaaf247a83e0be314c60e7c5ea691837 100644 (file)
@@ -90,7 +90,7 @@
 
     jobs:
       - '{deploy-scenario}-periodic-{os}-{type}-{stream}'
-      - '{deploy-scenario}-periodic-{os}-{phase}-{type}-{stream}'
+      - 'scenario-periodic-{os}-{phase}-{type}-{stream}'
 
 - job-template:
     name: '{deploy-scenario}-periodic-{os}-{type}-{stream}'
           name: deploy
           condition: SUCCESSFUL
           projects:
-            - name: '{deploy-scenario}-periodic-{os}-deploy-{type}-{stream}'
+            - name: 'scenario-periodic-{os}-deploy-{type}-{stream}'
               current-parameters: true
               predefined-parameters: |
                 DISTRIBUTION=$DISTRIBUTION
           name: functest
           condition: SUCCESSFUL
           projects:
-            - name: '{deploy-scenario}-periodic-{os}-functest-{type}-{stream}'
+            - name: 'scenario-periodic-{os}-functest-{type}-{stream}'
               current-parameters: true
               predefined-parameters: |
                 DISTRIBUTION=$DISTRIBUTION
           name: yardstick
           condition: SUCCESSFUL
           projects:
-            - name: '{deploy-scenario}-periodic-{os}-yardstick-{type}-{stream}'
+            - name: 'scenario-periodic-{os}-yardstick-{type}-{stream}'
               current-parameters: true
               predefined-parameters: |
                 DISTRIBUTION=$DISTRIBUTION
           name: promote
           condition: SUCCESSFUL
           projects:
-            - name: '{deploy-scenario}-periodic-{os}-promote-{type}-{stream}'
+            - name: 'scenario-periodic-{os}-promote-{type}-{stream}'
               current-parameters: true
               predefined-parameters: |
                 DISTRIBUTION=$DISTRIBUTION
               abort-all-job: true
 
 - job-template:
-    name: '{deploy-scenario}-periodic-{os}-{phase}-{type}-{stream}'
+    name: 'scenario-periodic-{os}-{phase}-{type}-{stream}'
 
     disabled: false