diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-05-16 16:23:56 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-05-16 16:28:04 -0700 |
commit | afff1f88a918215eeb9060c4f43c5a332c8eb32c (patch) | |
tree | 7767640d2b3c9dbb469b912856b221c1784c9db8 /jjb/opera/opera-project-jobs.yaml | |
parent | 7bf9e576ff0fffdac04b5892e0e41b63c0735d4e (diff) |
Rename files under jjb from 'yml' to 'yaml'
global-jjb only supports the .yaml file ending for jjb jobs. Instead of
waiting for a release we're going to rename the files.
Change-Id: Icf3339eacd2320c583333e02250998cf6b1881f7
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/opera/opera-project-jobs.yaml')
-rw-r--r-- | jjb/opera/opera-project-jobs.yaml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/jjb/opera/opera-project-jobs.yaml b/jjb/opera/opera-project-jobs.yaml new file mode 100644 index 000000000..f866342a4 --- /dev/null +++ b/jjb/opera/opera-project-jobs.yaml @@ -0,0 +1,56 @@ +--- +- project: + + name: opera-project + + project: 'opera' + + stream: + - master: + branch: '{stream}' + gs-pathname: '' + + jobs: + - 'opera-build-{stream}' + +######################## +# job templates +######################## +- job-template: + name: 'opera-build-{stream}' + + concurrent: true + + properties: + - logrotate-default + - throttle: + enabled: true + max-total: 1 + max-per-node: 1 + option: 'project' + + parameters: + - project-parameter: + project: '{project}' + branch: '{branch}' + - 'opnfv-build-ubuntu-defaults' + + scm: + - git-scm + + triggers: + - timed: 'H 23 * * *' + + builders: + - 'opera-build-macro' + +##################################### +# builder macros +##################################### +- builder: + name: 'opera-build-macro' + builders: + - shell: | + #!/bin/bash + + echo "Hello world!" |