diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2016-09-18 03:19:06 -0400 |
---|---|---|
committer | MatthewLi <matthew.lijun@huawei.com> | 2016-09-18 03:38:23 -0400 |
commit | fc60888d56ec2e30e891ec946b2ed72eb8f9d49c (patch) | |
tree | 72553c636cc2ab64144561dd1ca9009cda40551e /jjb | |
parent | 165ef3f47acf63273ab64ee83818487997c18587 (diff) |
dovetail initial jjb added: verify/merge job
JIRA: DOVETAIL-14
Change-Id: I19a2178c5bfa223a06f3f5134db2d050cb000849
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/dovetail/dovetail-project-jobs.yml | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/jjb/dovetail/dovetail-project-jobs.yml b/jjb/dovetail/dovetail-project-jobs.yml new file mode 100644 index 000000000..bf0552251 --- /dev/null +++ b/jjb/dovetail/dovetail-project-jobs.yml @@ -0,0 +1,98 @@ +################################################### +# Non-ci jobs for Dovetail project +# They will only be enabled on request by projects! +################################################### +- project: + name: dovetail-project-jobs + + project: 'dovetail' + + jobs: + - 'dovetail-verify-{stream}' + - 'dovetail-merge-{stream}' + + stream: + - master: + branch: '{stream}' + disabled: false + +################################ +# job templates +################################ + +- job-template: + name: 'dovetail-verify-{stream}' + + disabled: '{obj:disabled}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - 'opnfv-build-ubuntu-defaults' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + triggers: + - gerrit: + trigger-on: + - patchset-created-event: + exclude-drafts: 'false' + exclude-trivial-rebase: 'false' + exclude-no-code-change: 'false' + - draft-published-event + - comment-added-contains-event: + comment-contains-value: 'recheck' + - comment-added-contains-event: + comment-contains-value: 'reverify' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + builders: + - shell: | + echo "dovetail: verify job" + #unittest will be added future + +- job-template: + name: 'dovetail-merge-{stream}' + + disabled: '{obj:disabled}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - 'opnfv-build-ubuntu-defaults' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + choosing-strategy: 'default' + + triggers: + - gerrit: + trigger-on: + - change-merged-event + - comment-added-contains-event: + comment-contains-value: 'remerge' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + + builders: + - shell: | + echo "dovetail: merge" + #unittest will be added future |