|
|
|
@ -124,6 +124,12 @@ pipeline {
|
|
|
|
|
string(name: 'resume_from',
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
description: 'Resume from a previous build identified by the build number.')
|
|
|
|
|
|
|
|
|
|
booleanParam(name: 'ContinuousDeployment',
|
|
|
|
|
defaultValue: false,
|
|
|
|
|
description: 'If true, the gCubeDeployer pipeline is triggered')
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//see https://jenkins.io/doc/book/pipeline/syntax/#stages
|
|
|
|
@ -242,6 +248,19 @@ pipeline {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
stage('Deploy components') {
|
|
|
|
|
when {
|
|
|
|
|
expression { params.ContinuousDeployment == 'true' }
|
|
|
|
|
}
|
|
|
|
|
steps {
|
|
|
|
|
script {
|
|
|
|
|
def pjob = build(job: 'gCubeDeployer', wait: true, propagate: true,
|
|
|
|
|
parameters: [[$class: 'StringParameterValue', name: 'gCube_release_version', value: "${params.gCube_release_version}"],
|
|
|
|
|
[$class: 'StringParameterValue', name: 'TRIGGER_JOB', value: "${JOB_NAME}"]]
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|