Fix GIT_BASE, timer and downstream triggers and add POD_NAME parameter 71/3371/3
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Tue, 17 Nov 2015 23:31:18 +0000 (00:31 +0100)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Wed, 18 Nov 2015 12:44:11 +0000 (12:44 +0000)
Change-Id: Icaac4447fad172161ba455ebb476ed39720f3ba5
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/fuel/fuel.yml
jjb/yardstick/yardstick.yml

index b99bcc0..1f53454 100644 (file)
                 failure-threshold: 'never'
                 unstable-threshold: 'FAILURE'
         - trigger-builds:
-          - project: 'yardstick-fuel-{stream}'
+          - project: 'yardstick-fuel-lf-{stream}'
             block: true
             block-thresholds:
                 build-step-failure-threshold: 'never'
index 7c40096..60344fa 100644 (file)
     parameters:
         - project-parameter:
             project: '{project}'
+        - '{pod}-parameters'
+        - string:
+            name: POD_NAME
+            default: '{pod}'
+            description: "POD where the job runs"
         - string:
             name: INSTALLER_TYPE
             default: '{installer_type}'
         - shell:
             !include-raw ../../utils/fetch_os_creds.sh
 
+########################
+# parameter macros
+########################
+- parameter:
+    name: 'ericsson-parameters'
+    parameters:
+        - string:
+            name: GIT_BASE
+            default: https://gerrit.opnfv.org/gerrit/$PROJECT
+            description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
+
+- parameter:
+    name: 'lf-parameters'
+    parameters:
+        - string:
+            name: GIT_BASE
+            default: ssh://gerrit.opnfv.org:29418/$PROJECT
+            description: "URL for LF POD"
+
 ########################
 # trigger macros
 ########################
 - trigger:
-    name: yardstick-trigger-ericsson
+    name: 'yardstick-trigger-ericsson'
     triggers:
-        timed: "@midnight"
+        - timed: '@midnight'
 
 - trigger:
-    name: yardstick-trigger-lf
+    name: 'yardstick-trigger-lf'
     triggers:
-        timed: "#@midnight"
+        - timed: '#@midnight'