Skip to content

Instantly share code, notes, and snippets.

@hughsaunders
Last active July 8, 2016 10:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hughsaunders/7f7212a431fc9c0fe03b04882dd45ed0 to your computer and use it in GitHub Desktop.
Save hughsaunders/7f7212a431fc9c0fe03b04882dd45ed0 to your computer and use it in GitHub Desktop.
- job-template:
+ name: "JJB-Jenkins-RPC-PR-{type}"
+ display-name: "JJB-Jenkins-RPC-PR-{type}"
+ project-type: freestyle
+ description: 'Managed by JJB: Test changes to jenkins-rpc'
+ defaults: global
+ disabled: false
+ concurrent: true
+ node: master
+ logrotate:
+ daysToKeep: 30
+ properties:
+ - jenkins-rpc-github
+ scm:
+ - jenkins-rpc-git
+ triggers:
+ - github-pull-request:
+ org-list:
+ - rcbops
+ github-hooks: true
+ trigger-phrase: '.*recheck_all.*|.*recheck_{type}.*'
+ white-list-target-branches:
+ - master
+ status-context: "{type}"
+ builders:
+ - trigger-builds:
+ - project: "RPC-AIO"
+ block: true
+ current-parameters: False
+ predefined-parameters: |
+ JENKINS_RPC_BRANCH=${{sha1}}
+ UPGRADE={upgrade}
<triggerPhrase>.*recheck_all.*|.*recheck_aio.*</triggerPhrase>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment