diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-12-18 17:37:06 -0500 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2017-12-18 17:41:11 -0500 |
commit | ec5f41f9190fbf5d2fdba3f321f8c7ccb693a112 (patch) | |
tree | e1f66cf9acf03c0a6f990baa6c14a1689917c05f /jjb | |
parent | bd73235d8f53662f5048e8a2e9e79c343619229d (diff) |
add container4nfv job to upload artifacts
Change-Id: I16592831a5382bbcad8bec27d0070608381a7061
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
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." |