Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use parameter releaseType to pass to downstream #854

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pipelines/build/common/weekly_release_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ stage('Submit Release Pipelines') {
cleanWs notFailBuild: false
}

// For each variant, create a weekly pipeline job with "Weekly" as "releaseType"
// For each variant, launch a pipeline job with "releaseType" based on the build parameter.
scmRefs.each { variant ->
def variantName = variant.key
def scmRef = variant.value
Expand All @@ -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
Loading