Fix packer {cron} should be {obj:cron} 23/12123/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 4 Aug 2018 20:36:01 +0000 (16:36 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 4 Aug 2018 20:36:03 +0000 (16:36 -0400)
Cron accepts a multiline list of crons so fix to {obj:cron} so that
the user can provide multiple cron settings.

Change-Id: I2ac03ad59e33c07eaa0a89d87bd7486fdbfe7e9d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/lf-ci-jobs.yaml

index 8edcb7f..8301b65 100644 (file)
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
 
     triggers:
-      - timed: '{cron}'
+      - timed: '{obj:cron}'
       - gerrit:
           server-name: '{gerrit-server-name}'
           trigger-on: '{obj:gerrit_merge_triggers}'
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
 
     triggers:
-      - timed: '{cron}'
+      - timed: '{obj:cron}'
       - github
       - pollscm:
           cron: ''