Update deprecated pollscm usage 81/6381/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 12 Jan 2016 15:12:43 +0000 (10:12 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 12 Jan 2016 15:13:41 +0000 (10:13 -0500)
The syntax "pollscm: '@midnight'" is deprecated and should be updated to
using the new syntax:

    - pollscm:
       cron: '@midnight'

Change-Id: Id11d301dfee4d183ee40f2342528c4258f36034f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/fuel/fuel-project-jobs.yml
jjb/functest/functest-ci-jobs.yml
jjb/genesis/genesis-fuel-att.yml
jjb/genesis/genesis-fuel-dell.yml
jjb/genesis/genesis-juju.yml
jjb/opnfv/opnfv-docker.yml
jjb/vswitchperf/vswitchperf.yml

index a04e4e6..a006423 100644 (file)
@@ -51,7 +51,8 @@
             branch: '{branch}'
 
     triggers:
-        - pollscm: '0 H/4 * * *'
+        - pollscm:
+            cron: '0 H/4 * * *'
 
     wrappers:
         - timeout:
index 3c993c6..b3d4d70 100644 (file)
 - trigger:
     name: 'functest-master'
     triggers:
-        - pollscm: "H 9 * * *"
+        - pollscm:
+            cron: "H 9 * * *"
 ########################
 # builder macros
 ########################
index 8c03ebb..3789702 100644 (file)
@@ -59,7 +59,8 @@
             refspec: $GERRIT_REFSPEC
 
     triggers:
-        - pollscm: '@midnight'
+        - pollscm:
+            cron: '@midnight'
 
     builders:
       - '{installer}-daily-master-att'
index 6bebb5d..46ccf9d 100644 (file)
@@ -59,7 +59,8 @@
             refspec: $GERRIT_REFSPEC
 
     triggers:
-        - pollscm: '@midnight'
+        - pollscm:
+            cron: '@midnight'
 
     builders:
       - '{installer}-daily-master-dell'
index 3d102d2..89871e7 100644 (file)
             refspec: $GERRIT_REFSPEC
 
     triggers:
-        - pollscm: '@midnight'
+        - pollscm:
+            cron: '@midnight'
 
     builders:
         - 'juju-daily-master'
index 13063e3..54ebea6 100644 (file)
@@ -69,4 +69,5 @@
             !include-raw ./opnfv-docker.sh
 
     triggers:
-        - pollscm: "*/30 * * * *"
+        - pollscm:
+            cron: "*/30 * * * *"
index 4b1147d..fe6ea49 100644 (file)
@@ -33,7 +33,8 @@
             branch: '{branch}'
 
     triggers:
-        - pollscm: '@midnight'
+        - pollscm:
+            cron: '@midnight'
 
     builders:
         - shell: |