diff options
author | 2018-01-08 21:29:50 +0000 | |
---|---|---|
committer | 2018-01-08 21:29:50 +0000 | |
commit | ec26a386aa8a5caf56b7ffcb036cc1ddbdc0726d (patch) | |
tree | 0380cb0dec8ca241d650e5de01a636340f2b7c68 /jjb | |
parent | f47a682614fa0d68fb5bba6abeacb2fcf87ee537 (diff) | |
parent | ec5f41f9190fbf5d2fdba3f321f8c7ccb693a112 (diff) |
Merge "add container4nfv job to upload artifacts"
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/container4nfv/container4nfv-project.yml | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/jjb/container4nfv/container4nfv-project.yml b/jjb/container4nfv/container4nfv-project.yml index 58070e1c5..03bbb655e 100644 --- a/jjb/container4nfv/container4nfv-project.yml +++ b/jjb/container4nfv/container4nfv-project.yml @@ -10,7 +10,8 @@ jobs: - 'container4nfv-verify-{stream}' - - 'container4nfv-daily-{stream}' + - 'container4nfv-daily-upload-{stream}' + - 'container4nfv-daily-deploy-{stream}' stream: - master: @@ -71,9 +72,34 @@ cd $WORKSPACE/ci ./build.sh +- job-template: + name: 'container4nfv-daily-upload-{stream}' + + disabled: '{obj:disabled}' + + concurrent: false + + scm: + - git-scm + + wrappers: + - fix-workspace-permissions + + parameters: + - project-parameter: + project: '{project}' + branch: '{branch}' + - 'opnfv-build-ubuntu-defaults' + - 'container4nfv-defaults': + gs-pathname: '{gs-pathname}' + + builders: + - shell: | + cd $WORKSPACE/ci + ./upload.sh - job-template: - name: 'container4nfv-daily-{stream}' + name: 'container4nfv-daily-deploy-{stream}' project-type: freestyle @@ -115,3 +141,14 @@ - shell: | cd $WORKSPACE/ci ./deploy.sh + +################### +# parameter macros +################### +- parameter: + name: 'container4nfv-defaults' + parameters: + - string: + name: GS_URL + default: artifacts.opnfv.org/$PROJECT{gs-pathname} + description: "URL to Google Storage." |