diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-01-11 20:31:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-11 20:31:48 +0000 |
commit | 07730ca7325c1a1370874a801df5698a81ebc392 (patch) | |
tree | b3e7a7843ad278be60dd1bcac8b96335a2d0cc68 /jjb/global | |
parent | 74b989b9a2d8c815f8c17bbba8bffd1a1454a918 (diff) | |
parent | 62d5bf9536dd7e03be5b7bd5770e930a97ba10fa (diff) |
Merge "Reduce Basic Job Duplication"
Diffstat (limited to 'jjb/global')
-rw-r--r-- | jjb/global/basic-jobs.yml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/jjb/global/basic-jobs.yml b/jjb/global/basic-jobs.yml new file mode 100644 index 000000000..e55f068ca --- /dev/null +++ b/jjb/global/basic-jobs.yml @@ -0,0 +1,46 @@ +--- +## +# Basic Job Config +# +# This is used for project which don't have any jobs of substance +# defined yet, but still need 'Verified+1'. +## +- job-group: + name: '{project}-verify-basic' + + stream: + - master: + branch: '{stream}' + gs-pathname: '' + disabled: false + - euphrates: + branch: 'stable/{stream}' + gs-pathname: '/{stream}' + disabled: false + + jobs: + - '{project}-verify-{stream}' + +- job-template: + name: '{project}-verify-{stream}' + + disabled: '{obj:disabled}' + + parameters: + - project-parameter: + project: '{project}' + branch: '{branch}' + - 'opnfv-build-defaults' + + scm: + - git-scm-gerrit + + triggers: + - gerrit-trigger-patchset-created: + project: '{project}' + branch: '{branch}' + files: 'docs/**|.gitignore' + + builders: + - shell: | + echo "Nothing to verify!" |