Apex: adds daily flex job 41/41341/5
authorTim Rozet <trozet@redhat.com>
Thu, 7 Sep 2017 20:01:56 +0000 (16:01 -0400)
committerTim Rozet <trozet@redhat.com>
Thu, 7 Sep 2017 20:11:53 +0000 (16:11 -0400)
Change-Id: I19fff409b5e8335ff44f0d9ba8167d3e882a9ad5
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex.yml
jjb/apex/apex.yml.j2

index dfeea07..5290fdc 100644 (file)
@@ -15,6 +15,7 @@
         - 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
         - 'apex-upload-snapshot'
         - 'apex-create-snapshot'
+        - 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
     # stream:    branch with - in place of / (eg. stable-arno)
     # branch:    branch (eg. stable/arno)
     stream:
 
 # Flex job
 - job-template:
-    name: 'apex-flexjob-os-nosdn-nofeature-ha-{scenario_stream}'
+    name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
 
     project-type: 'multijob'
 
     scm:
         - git-scm
     triggers:
-        - 'apex-'
+        - 'apex-{stream}'
     parameters:
         - '{project}-defaults'
-        - '{project}-baremetal-{scenario_stream}-defaults'
         - project-parameter:
             project: '{project}'
             branch: '{branch}'
             name: DEPLOY_SCENARIO
             default: 'os-nosdn-nofeature-ha'
             description: "Scenario to deploy with."
+        - string:
+            name: GIT_BASE
+            default: https://gerrit.opnfv.org/gerrit/$PROJECT
+            description: 'Git URL to use on this Jenkins Slave'
+        - string:
+            name: SSH_KEY
+            default: /root/.ssh/id_rsa
+            description: 'SSH key to use for Apex'
     properties:
         - logrotate-default
         - build-blocker:
             name: 'Baremetal Deploy'
             condition: SUCCESSFUL
             projects:
-                - name: 'apex-deploy-baremetal-{scenario_stream}'
+                - name: 'apex-deploy-baremetal-{stream}'
                   node-parameters: true
                   current-parameters: true
                   predefined-parameters: |
             name: Yardstick
             condition: ALWAYS
             projects:
-                - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
+                - name: 'yardstick-apex-baremetal-daily-{stream}'
                   node-parameters: true
                   current-parameters: false
                   predefined-parameters:
index b6737dc..ec74a74 100644 (file)
@@ -15,6 +15,7 @@
         - 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
         - 'apex-upload-snapshot'
         - 'apex-create-snapshot'
+        - 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
     # stream:    branch with - in place of / (eg. stable-arno)
     # branch:    branch (eg. stable/arno)
     stream:
 
 # Flex job
 - job-template:
-    name: 'apex-flexjob-os-nosdn-nofeature-ha-{scenario_stream}'
+    name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
 
     project-type: 'multijob'
 
     scm:
         - git-scm
     triggers:
-        - 'apex-{{ stream }}'
+        - 'apex-{stream}'
     parameters:
         - '{project}-defaults'
-        - '{project}-baremetal-{scenario_stream}-defaults'
         - project-parameter:
             project: '{project}'
             branch: '{branch}'
             name: DEPLOY_SCENARIO
             default: 'os-nosdn-nofeature-ha'
             description: "Scenario to deploy with."
+        - string:
+            name: GIT_BASE
+            default: https://gerrit.opnfv.org/gerrit/$PROJECT
+            description: 'Git URL to use on this Jenkins Slave'
+        - string:
+            name: SSH_KEY
+            default: /root/.ssh/id_rsa
+            description: 'SSH key to use for Apex'
     properties:
         - logrotate-default
         - build-blocker:
             name: 'Baremetal Deploy'
             condition: SUCCESSFUL
             projects:
-                - name: 'apex-deploy-baremetal-{scenario_stream}'
+                - name: 'apex-deploy-baremetal-{stream}'
                   node-parameters: true
                   current-parameters: true
                   predefined-parameters: |
             name: Yardstick
             condition: ALWAYS
             projects:
-                - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
+                - name: 'yardstick-apex-baremetal-daily-{stream}'
                   node-parameters: true
                   current-parameters: false
                   predefined-parameters: