Added triggers for QTIP CI Jobs for Brahmaputra 41/10141/3
authorNauman_Ahad <nauman.ahad@xflowresearch.com>
Wed, 17 Feb 2016 14:37:10 +0000 (19:37 +0500)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 19 Feb 2016 09:12:33 +0000 (09:12 +0000)
QTIP CI daily jobs triggers were added for
dell-us-testing-bm-1 and dell-us-deploying-bm3 pods.

Triggers for other labs would be added shortly after checking with
lab managers for available time slots.

Change-Id: Ie7b02ad3368f261205239afa4f8a4f5d32027731
Signed-off-by: Nauman_Ahad <nauman.ahad@xflowresearch.com>
jjb/qtip/qtip-ci-jobs.yml

index d33bdda..8dd0a4a 100644 (file)
     pod:
         - dell-us-testing-bm-1:
             installer: compass
+            auto-trigger-name: 'qtip-daily-dell-us-testing-bm-1-trigger'
             <<: *brahmaputra
         - orange-pod2:
             installer: joid
+            auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
             <<: *brahmaputra
         - dell-us-deploying-bm3:
             installer: fuel
+            auto-trigger-name: 'qtip-daily-dell-us-deploying-bm3-trigger'
             <<: *brahmaputra
 
 #--------------------------------
@@ -39,6 +42,7 @@
         - juniper-pod1:
             installer: joid
             <<: *master
+            auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
 #      - zte-build-1:   #would be confirmed with the ZTE lab by tomorrow
 #            installer: fuel
 #            <<: *master
     disabled: false
 
     parameters:
-      - project-parameter:
-          project: '{project}'
-      - '{pod}-defaults'
-      - '{installer}-defaults'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: 'os-nosdn-nofeature-ha'
+        - project-parameter:
+            project: '{project}'
+        - '{pod}-defaults'
+        - '{installer}-defaults'
+        - string:
+            name: DEPLOY_SCENARIO
+            default: 'os-nosdn-nofeature-ha'
 
     scm:
-       - git-scm:
-           credentials-id: '{ssh-credentials}'
-           refspec: ''
-           branch: '{branch}'
+        - git-scm:
+              credentials-id: '{ssh-credentials}'
+              refspec: ''
+              branch: '{branch}'
+
+    triggers:
+        - '{auto-trigger-name}'
 
     builders:
         - 'qtip-cleanup'
                     docker rmi opnfv/qtip:$tag
                 done
             fi
+
+#################
+#trigger macros
+#################
+
+- trigger:
+    name: 'qtip-daily-dell-us-deploying-bm3-trigger'
+    triggers:
+        - timed: '0 0 * * *'
+
+- trigger:
+    name: 'qtip-daily-dell-us-testing-bm-1-trigger'
+    triggers:
+        - timed: '0 3 * * *'
+
+#- trigger:
+#    name: 'qtip-daily-juniper-build1-trigger'
+#    triggers:
+#        - timed : '0 0 * * *'
+
+#- trigger:
+#   name: 'qtip-dailty-orange-fr-pod2-trigger'
+#   triggers:
+#       - timed : ' 0 0 * * *'
+
+