
Make the following changes to builders and publishers in service of being able to handle this job: http://paste.openstack.org/show/18541/ * Allow builders to have attributes * Add a generic shell script builder * Make the 'project' job attribute optional (no link to github will be made in that case) * Combine all separate publishers into one publisher module so that jobs may have more than one publisher * Name the section that lists publishers "post_build_actions" to be consistent with the web UI * Allow publishers to have attributes * Add an archive artifacts publisher * Add a parameterized build trigger publisher * Add a parameterized build_trigger builder * Add wrappers * Add a build timeout wrapper * Add a timstamp wrapper Also, make the following small improvements: * The 'disabled' attribute of a job is optional, defaults to false. * Add a script to verify XML output is the same before and after a change to the job filler (test.sh) Change-Id: Icf2228494e431f5bf0a5f051f63842f12f6f92f1
79 lines
1.7 KiB
YAML
79 lines
1.7 KiB
YAML
---
|
|
modules:
|
|
- properties
|
|
- scm
|
|
- assignednode
|
|
- trigger_gerrit
|
|
- builders
|
|
- publishers
|
|
|
|
main:
|
|
name: 'gate-MRaaS-merge'
|
|
github_org: 'stackforge'
|
|
review_site: 'review.stackforge.org'
|
|
project: 'MRaaS'
|
|
authenticatedBuild: 'true'
|
|
|
|
trigger:
|
|
triggerOnPatchsetUploadedEvent: 'false'
|
|
triggerOnChangeMergedEvent: 'false'
|
|
triggerOnCommentAddedEvent: 'true'
|
|
triggerOnRefUpdatedEvent: 'false'
|
|
triggerApprovalCategory: 'APRV'
|
|
triggerApprovalValue: 1
|
|
failureMessage: 'This change was unable to be automatically merged with the current state of the repository. Please rebase your change and upload a new patchset.'
|
|
projects:
|
|
- projectCompareType: 'PLAIN'
|
|
projectPattern: 'stackforge/MRaaS'
|
|
branchCompareType: 'ANT'
|
|
branchPattern: '**'
|
|
|
|
builders:
|
|
- gerrit_git_prep
|
|
|
|
scm:
|
|
scm: 'false'
|
|
|
|
assignednode:
|
|
node: 'oneiric'
|
|
|
|
---
|
|
modules:
|
|
- properties
|
|
- scm
|
|
- assignednode
|
|
- trigger_gerrit
|
|
- builders
|
|
- publishers
|
|
|
|
main:
|
|
name: 'check-MRaaS-merge'
|
|
github_org: 'stackforge'
|
|
review_site: 'review.stackforge.org'
|
|
project: 'MRaaS'
|
|
authenticatedBuild: 'true'
|
|
|
|
trigger:
|
|
triggerOnPatchsetUploadedEvent: 'true'
|
|
triggerOnChangeMergedEvent: 'false'
|
|
triggerOnCommentAddedEvent: 'false'
|
|
triggerOnRefUpdatedEvent: 'false'
|
|
overrideVotes: 'true'
|
|
gerritBuildSuccessfulVerifiedValue: 1
|
|
gerritBuildFailedVerifiedValue: -1
|
|
failureMessage: 'This change was unable to be automatically merged with the current state of the repository. Please rebase your change and upload a new patchset.'
|
|
projects:
|
|
- projectCompareType: 'PLAIN'
|
|
projectPattern: 'stackforge/MRaaS'
|
|
branchCompareType: 'ANT'
|
|
branchPattern: '**'
|
|
|
|
builders:
|
|
- gerrit_git_prep
|
|
|
|
scm:
|
|
scm: 'false'
|
|
|
|
assignednode:
|
|
node: 'oneiric'
|