blob: f6ba0b7d13a6fc7c7a7f8db053bb13e5573acf81 [file] [log] [blame]
Vasyl Saienko1cd5d7c2017-07-28 18:39:01 +03001/**
2
3 * Launch system tests against new package.
4
5 * Flow parameters:
6 * CREDENTIALS_ID
7 * EXTRA_FORMULAS
8 * FORMULAS_REVISION
9 * FORMULAS_SOURCE
10 * SALT_OPTS
11 * STACK_DEPLOY_JOB
12
13**/
14def common = new com.mirantis.mk.Common()
15def gerrit = new com.mirantis.mk.Gerrit()
16
Ruslan Kamaldinov6feef402017-08-02 16:55:58 +040017node {
18 def cred = common.getCredentials(CREDENTIALS_ID, 'key')
19 def gerritChange = gerrit.getGerritChange(cred.username, GERRIT_HOST, GERRIT_CHANGE_NUMBER, CREDENTIALS_ID, true)
Vasyl Saienko1cd5d7c2017-07-28 18:39:01 +030020
Ruslan Kamaldinov6feef402017-08-02 16:55:58 +040021 stage('Trigger deploy job') {
22 build(job: STACK_DEPLOY_JOB, parameters: [
23 [$class: 'StringParameterValue', name: 'OPENSTACK_API_PROJECT', value: 'mcp-oscore'],
24 [$class: 'StringParameterValue', name: 'STACK_TEST', value: ''],
25 [$class: 'BooleanParameterValue', name: 'TEST_DOCKER_INSTALL', value: false]
26 ])
Vasyl Saienko1cd5d7c2017-07-28 18:39:01 +030027 }
28}