- 'builder-verify-jjb'
- 'builder-verify-python'
- 'builder-merge'
+ - 'builder-weekly'
- 'builder-check-poms'
project: 'releng/builder'
- email-notification:
email-prefix: '[releng]'
+- job-template:
+ name: 'builder-weekly'
+
+ # builder-daily job to run JJB update weekly
+ #
+ # This job's purpose is to update all the JJB on a weekly (Sunday)
+ # basis with --flush-cache enabled to ensure jobs are okay
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 40
+ artifactDaysToKeep: -1
+ artifactNumToKeep: 5
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: 'default'
+
+ wrappers:
+ - ssh-agent-credentials:
+ user: '{ssh-credentials}'
+
+ triggers:
+ - timed: 'H H * * 0'
+
+ builders:
+ - shell: |
+ source /opt/virtualenv/jenkins-job-builder/bin/activate
+ jenkins-jobs --flush-cache update jjb/
+
+ publishers:
+ - email-notification:
+ email-prefix: '[releng]'
+
- job-template:
name: builder-check-poms