diff options
Diffstat (limited to 'jjb/qtip/qtip-verify-jobs.yml')
-rw-r--r-- | jjb/qtip/qtip-verify-jobs.yml | 73 |
1 files changed, 73 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..5f0292b92 --- /dev/null +++ b/jjb/qtip/qtip-verify-jobs.yml @@ -0,0 +1,73 @@ +###################### +# 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 + publishers: + - publish-coverage + +################################ +## job builders +################################# +- builder: + name: qtip-unit-tests-and-docs-build + builders: + - shell: | + #!/bin/bash + set -o errexit + set -o pipefail + set -o xtrace + + tox |