Skip to content

Commit

Permalink
Use parameter releasType to pass to downstream
Browse files Browse the repository at this point in the history
Rather than hardcoding 'Weekly', use the build parameter.

Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
  • Loading branch information
AdamBrousseau committed Dec 11, 2023
1 parent 6556d81 commit 7f4a04b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/build/common/weekly_release_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7f4a04b

Please sign in to comment.