diff options
author | meimei <meimei@huawei.com> | 2016-01-27 12:51:15 +0800 |
---|---|---|
committer | meimei <meimei@huawei.com> | 2016-01-28 09:16:19 +0800 |
commit | 8b70673b1307068e521281036261b2974d7bc237 (patch) | |
tree | aaf5670ac2545b119ec4d4a89b52659e74c598a5 /jjb | |
parent | b4017db6b64a2c21237e2f59289af1f9171d5f50 (diff) |
[compass] create verify job as multi-jobs
Change-Id: I4bf44fbac9f3f3bb2b979696608f5d4dfce93c59
Signed-off-by: meimei <meimei@huawei.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/compass4nfv/compass-ci-jobs.yml | 11 | ||||
-rw-r--r-- | jjb/compass4nfv/compass-project-jobs.yml | 18 | ||||
-rw-r--r-- | jjb/opnfv/slave-params.yml | 13 |
3 files changed, 23 insertions, 19 deletions
diff --git a/jjb/compass4nfv/compass-ci-jobs.yml b/jjb/compass4nfv/compass-ci-jobs.yml index 2a8248186..c50f7341a 100644 --- a/jjb/compass4nfv/compass-ci-jobs.yml +++ b/jjb/compass4nfv/compass-ci-jobs.yml @@ -204,16 +204,7 @@ choices: - 'trusty' - 'centos7' -- parameter: - name: 'huawei-virtual-defaults' - parameters: - - label: - name: SLAVE_LABEL - default: 'huawei-deploy-vm' - - string: - name: GIT_BASE - default: https://gerrit.opnfv.org/gerrit/$PROJECT - description: 'Git URL to use on these Jenkins Slaves' + ######################## # trigger macros ######################## diff --git a/jjb/compass4nfv/compass-project-jobs.yml b/jjb/compass4nfv/compass-project-jobs.yml index 02e91028c..cb94c72b8 100644 --- a/jjb/compass4nfv/compass-project-jobs.yml +++ b/jjb/compass4nfv/compass-project-jobs.yml @@ -29,7 +29,7 @@ disabled: false - node: 'huawei-deploy-vm' + node: 'huawei-virtual' concurrent: true @@ -87,6 +87,22 @@ pattern: 'docs/**|.gitignore' builders: + - trigger-builds: + - project: 'compass-verify-deploy-{stream}' + current-parameters: true + same-node: true + block: true + +- job-template: + name: 'compass-verify-deploy-{stream}' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: '{branch}' + + builders: - shell: !include-raw: ./compass-build.sh - shell: diff --git a/jjb/opnfv/slave-params.yml b/jjb/opnfv/slave-params.yml index 20387f24f..5204f7926 100644 --- a/jjb/opnfv/slave-params.yml +++ b/jjb/opnfv/slave-params.yml @@ -248,16 +248,13 @@ name: GIT_BASE default: https://gerrit.opnfv.org/gerrit/$PROJECT description: 'Git URL to use on this Jenkins Slave' + - parameter: - name: 'huawei-deploy-vm-defaults' + name: 'huawei-virtual-defaults' parameters: - - node: - name: SLAVE_NAME - description: 'Slave name on Jenkins' - allowed-slaves: - - huawei-deploy-vm - default-slaves: - - huawei-deploy-vm + - label: + name: SLAVE_LABEL + default: 'huawei-deploy-vm' - string: name: INSTALLER_VERSION default: stable |