From 7f4a04bca8bd8338cdbbf3c6377938d08175a2bd Mon Sep 17 00:00:00 2001 From: Adam Brousseau Date: Mon, 11 Dec 2023 10:16:14 -0500 Subject: [PATCH] Use parameter releasType to pass to downstream Rather than hardcoding 'Weekly', use the build parameter. Signed-off-by: Adam Brousseau --- pipelines/build/common/weekly_release_pipeline.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelines/build/common/weekly_release_pipeline.groovy b/pipelines/build/common/weekly_release_pipeline.groovy index efbe13eea..88932b6d5 100644 --- a/pipelines/build/common/weekly_release_pipeline.groovy +++ b/pipelines/build/common/weekly_release_pipeline.groovy @@ -47,7 +47,7 @@ stage('Submit Release Pipelines') { stage("Build - ${params.buildPipeline} - ${variantName}") { result = build job: "${params.buildPipeline}", parameters: [ - string(name: 'releaseType', value: 'Weekly'), + string(name: 'releaseType', value: "${params.releaseType}"), string(name: 'scmReference', value: scmRef), text(name: 'targetConfigurations', value: JsonOutput.prettyPrint(JsonOutput.toJson(targetConfig))), ['$class': 'BooleanParameterValue', name: 'keepReleaseLogs', value: false]