blob: d3504d320a8cb3fc6bb5fa8d10063afa15de3098 [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
17
18timestamps {
19 node {
20 def cred = common.getCredentials(CREDENTIALS_ID, 'key')
21 def gerritChange = gerrit.getGerritChange(cred.username, GERRIT_HOST, GERRIT_CHANGE_NUMBER, CREDENTIALS_ID, true)
22
23 stage('Trigger deploy job') {
24 build(job: STACK_DEPLOY_JOB, parameters: [
25 [$class: 'StringParameterValue', name: 'OPENSTACK_API_PROJECT', value: 'mcp-oscore'],
26 [$class: 'StringParameterValue', name: 'STACK_TEST', value: ''],
27 [$class: 'BooleanParameterValue', name: 'TEST_DOCKER_INSTALL', value: false]
28 ])
29 }
30 }
31}