blob: cf16a5322e4ead081449043c2ca2f52f8db82867 [file] [log] [blame]
- project:
name: jenkins-config
jobs:
- infra/jenkins-config.checkupdate
- job-template:
name: 'infra.jenkins-config.checkupdate'
id: infra/jenkins-config.checkupdate
description: |
<p>Verify and apply JCasC config</p>
project-type: pipeline
properties:
- build-discarder:
days-to-keep: 3
- inject:
properties-content: |
GIT_CREDENTIALS_ID={git-credentials-id}
concurrent: false
triggers:
- gerrit:
server-name: '{gerrit-server}'
trigger-on:
- patchset-created-event
- ref-updated-event
#- comment-added-contains-event:
# comment-contains-value: '(?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(rebuild|recheck|retest|reverify)'
projects:
- project-compare-type: 'PLAIN'
project-pattern: 'infra/jenkins-config'
branches:
- branch-compare-type: 'PLAIN'
branch-pattern: '{jcasc_branch}'
custom-url: '* $JOB_NAME $BUILD_URL'
dsl: !include-raw-escape: pipelines/update-jenkins-config.groovy
sandbox: false