string(name: 'GERRIT_PROJECT', value: GERRIT_PROJECT),
string(name: 'GERRIT_REFSPEC', value: GERRIT_REFSPEC),
string(name: 'GERRIT_PATCHSET_REVISION', value: GERRIT_PATCHSET_REVISION),
+ string(name: 'INSTALLER', value: params.INSTALLER),
string(name: 'PROJECT_URL_PREFIX', value: params.PROJECT_URL_PREFIX),
string(name: 'DOCKER_TAG', value: params.DOCKER_TAG),
booleanParam(name: 'TEST_INSTALL', value: params.TEST_INSTALL),
// callout to stage_2. This is a multi-branch pipeline.
downstream_job_name = "${mdg}-${stage_name}/${GERRIT_BRANCH}"
- println("TEST_INSTALL = ${params.TEST_INSTALL}, downstream job: ${downstream_job_name}")
+ println("Downstream job: ${downstream_job_name}")
+ println("Downstream parameters: ${downstream_params}")
currentBuild.result = 'SUCCESS'
try {
stage_3_merge_result = build job: "${downstream_job_name}", parameters: downstream_params, propagate: true
stage('Build System') {
def downstream_params_stage_3 = [
string(name: 'GERRIT_BRANCH', value: "${branch}"),
+ string(name: 'INSTALLER', value: "charmed" ),
string(name: 'UPSTREAM_JOB_NAME', value: "${JOB_NAME}" ),
string(name: 'UPSTREAM_JOB_NUMBER', value: "${BUILD_NUMBER}" ),
booleanParam(name: 'DO_STAGE_4', value: do_stage_4 )