diff options
author | 2017-01-25 11:12:04 +0800 | |
---|---|---|
committer | 2017-01-25 14:50:55 +0800 | |
commit | 5183cc8fb10ece14e7ced9d557bbc07057fdc253 (patch) | |
tree | 521d6edffdb9c71ba2315d0aa00e01b0d3c17cce /jjb/opera/opera-daily-jobs.yml | |
parent | 0a8c27b63c12413aeb0b66aa6d1b137f2dfbe749 (diff) |
enable opera daily deployment job
Change-Id: I320b37ed0897844c9f68c1ea75e4d8cfb92c6932
Signed-off-by: meimei <meimei@huawei.com>
Diffstat (limited to 'jjb/opera/opera-daily-jobs.yml')
-rw-r--r-- | jjb/opera/opera-daily-jobs.yml | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/jjb/opera/opera-daily-jobs.yml b/jjb/opera/opera-daily-jobs.yml index 76aeb741e..b0755446e 100644 --- a/jjb/opera/opera-daily-jobs.yml +++ b/jjb/opera/opera-daily-jobs.yml @@ -63,7 +63,9 @@ project: '{project}' - gerrit-parameter: branch: '{branch}' - - 'huawei-pod7-defaults' + - 'huawei-virtual7-defaults' + - 'compass-defaults' + - 'opera-compass-parameter' builders: - description-setter: @@ -81,7 +83,7 @@ name: deploy condition: SUCCESSFUL projects: - - name: 'opera-daily-deploy-{stream}' + - name: 'compass-deploy-virtual-daily-{stream}' current-parameters: true node-parameters: true kill-phase-on: FAILURE @@ -143,3 +145,27 @@ #!/bin/bash echo "Hello world!" +######################## +# parameter macros +######################## +- parameter: + name: opera-compass-parameter + parameters: + - string: + name: BUILD_DIRECTORY + default: $WORKSPACE/build_output + description: "Directory where the build artifact will be located upon the completion of the build." + - string: + name: GS_URL + default: '$GS_BASE{gs-pathname}' + description: "URL to Google Storage." + - choice: + name: COMPASS_OPENSTACK_VERSION + choices: + - 'newton' + - string: + name: DEPLOY_SCENARIO + default: 'os-nosdn-openo-noha' + - string: + name: COMPASS_OS_VERSION + default: 'xenial' |