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>
branch: '{branch}'
triggers:
- - pollscm: '0 H/4 * * *'
+ - pollscm:
+ cron: '0 H/4 * * *'
wrappers:
- timeout:
- trigger:
name: 'functest-master'
triggers:
- - pollscm: "H 9 * * *"
+ - pollscm:
+ cron: "H 9 * * *"
########################
# builder macros
########################
refspec: $GERRIT_REFSPEC
triggers:
- - pollscm: '@midnight'
+ - pollscm:
+ cron: '@midnight'
builders:
- '{installer}-daily-master-att'
refspec: $GERRIT_REFSPEC
triggers:
- - pollscm: '@midnight'
+ - pollscm:
+ cron: '@midnight'
builders:
- '{installer}-daily-master-dell'
refspec: $GERRIT_REFSPEC
triggers:
- - pollscm: '@midnight'
+ - pollscm:
+ cron: '@midnight'
builders:
- 'juju-daily-master'
!include-raw ./opnfv-docker.sh
triggers:
- - pollscm: "*/30 * * * *"
+ - pollscm:
+ cron: "*/30 * * * *"
branch: '{branch}'
triggers:
- - pollscm: '@midnight'
+ - pollscm:
+ cron: '@midnight'
builders:
- shell: |