diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-01-29 19:49:06 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-02-05 12:28:59 +0800 |
commit | 6ecd5a9aab2d2d04c9f913fa9d9ee84f945ed788 (patch) | |
tree | 5334a16100f6a2e54f8b6428ced73147c1803d96 /jjb/qtip/qtip-verify-jobs.yml | |
parent | b2c7cda618ba21a5298f3b004f4bda013d3b80d8 (diff) |
Refactor qtip jobs
- rename jobs to verify and validate
- add job for validate-setup
- move all scripts to helpers folder
- use auto variables to merge job templates
Change-Id: Ie1199e35e48b6a95861d9b7281fa7bdcc94212d9
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'jjb/qtip/qtip-verify-jobs.yml')
-rw-r--r-- | jjb/qtip/qtip-verify-jobs.yml | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/jjb/qtip/qtip-verify-jobs.yml b/jjb/qtip/qtip-verify-jobs.yml new file mode 100644 index 000000000..d1fc34d11 --- /dev/null +++ b/jjb/qtip/qtip-verify-jobs.yml @@ -0,0 +1,71 @@ +###################### +# verify before MERGE +###################### + +- project: + name: qtip-verify-jobs + project: qtip + jobs: + - 'qtip-verify-{stream}' + stream: + - master: + branch: '{stream}' + gs-pathname: '' + disabled: false + +################################ +## job templates +################################# +- job-template: + name: 'qtip-verify-{stream}' + + disabled: '{obj:disabled}' + + parameters: + - project-parameter: + project: '{project}' + branch: '{branch}' + - 'opnfv-build-ubuntu-defaults' + + scm: + - git-scm-gerrit + + triggers: + - gerrit: + server-name: 'gerrit.opnfv.org' + 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}' + forbidden-file-paths: + - compare-type: ANT + pattern: 'docs/**|.gitignore' + + builders: + - qtip-unit-tests-and-docs-build + +################################ +## job builders +################################# +- builder: + name: qtip-unit-tests-and-docs-build + builders: + - shell: | + #!/bin/bash + set -o errexit + set -o pipefail + set -o xtrace + + tox |