summaryrefslogtreecommitdiffstats
path: root/job-cfg/rebootstrap.yaml.py
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-03-13 22:33:15 +0100
committerHolger Levsen <holger@layer-acht.org>2016-03-13 22:42:20 +0100
commite19c1cb72298cd19cc329546fc706c6bfcf658aa (patch)
tree72831ce767d4d0137fba04650e6c75af58d09123 /job-cfg/rebootstrap.yaml.py
parenta721c3d305451cd9bd48ee96cbe43a34db94f9b7 (diff)
downloadjenkins.debian.net-e19c1cb72298cd19cc329546fc706c6bfcf658aa.tar.xz
use new 'cron' parameter for pollscm
old style deprecated since 1.3.0, according to: http://docs.openstack.org/infra/jenkins-job-builder/triggers.html#triggers.pollscm
Diffstat (limited to 'job-cfg/rebootstrap.yaml.py')
-rwxr-xr-xjob-cfg/rebootstrap.yaml.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/job-cfg/rebootstrap.yaml.py b/job-cfg/rebootstrap.yaml.py
index 23ec5eda..39de2fec 100755
--- a/job-cfg/rebootstrap.yaml.py
+++ b/job-cfg/rebootstrap.yaml.py
@@ -83,7 +83,8 @@ print("""
- email:
recipients: 'jenkins+debian-bootstrap helmutg@debian.org'
triggers:
- - pollscm: '*/6 * * * *'
+ - pollscm:
+ cron: '*/6 * * * *'
node: '{my_node}'
""")