Modify cron entry 77/14477/6 v0.30.0
authorSuresh Channamallu <schannamallu@linuxfoundation.org>
Wed, 6 Feb 2019 21:27:10 +0000 (16:27 -0500)
committerSuresh Channamallu <schannamallu@linuxfoundation.org>
Thu, 7 Feb 2019 16:13:21 +0000 (11:13 -0500)
Modify cron entry to pick from custom config

Issue-Id: RELENG-1728
Change-Id: Icd4d97a37672fd0dece6960fa6de7d9fa2fe8a1e
Signed-off-by: Suresh Channamallu <schannamallu@linuxfoundation.org>
jjb/lf-maven-jobs.yaml
releasenotes/notes/fix-sonar-cron-4ece00b99dda0d0f.yaml [new file with mode: 0644]

index 8ec5b34..9c8b953 100644 (file)
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
 
     triggers:
-      # Build weekly on Saturdays
-      - timed: 'H H * * 6'
+      - timed: '{obj:cron}'
       - github-pull-request:
           trigger-phrase: '^run-sonar$'
           only-trigger-phrase: true
diff --git a/releasenotes/notes/fix-sonar-cron-4ece00b99dda0d0f.yaml b/releasenotes/notes/fix-sonar-cron-4ece00b99dda0d0f.yaml
new file mode 100644 (file)
index 0000000..4a6b5f1
--- /dev/null
@@ -0,0 +1,6 @@
+---
+fixes:
+  - |
+    Modified lf-maven-jobs.yaml sonar cron entry to '{obj:cron}'
+    to pass value from custom user config file.
+