Skip to content

Commit

Permalink
Ensure test jobs are regenerated weekly (#883)
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo authored Jan 11, 2024
1 parent 23b9bca commit c58042b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pipelines/build/common/weekly_release_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ stage('Submit Release Pipelines') {
cleanWs notFailBuild: false
}

// ensure test jobs are regenerated weekly
def aqaAutoGen = false
if ( params.releaseType == 'weekly' ) {
aqaAutoGen = true
}

// For each variant, launch a pipeline job with "releaseType" based on the build parameter.
scmRefs.each { variant ->
def variantName = variant.key
Expand All @@ -49,6 +55,7 @@ stage('Submit Release Pipelines') {
parameters: [
string(name: 'releaseType', value: "${params.releaseType}"),
string(name: 'scmReference', value: scmRef),
booleanParam(name: 'aqaAutoGen', value: aqaAutoGen),
text(name: 'targetConfigurations', value: JsonOutput.prettyPrint(JsonOutput.toJson(targetConfig))),
['$class': 'BooleanParameterValue', name: 'keepReleaseLogs', value: false]
]
Expand Down

0 comments on commit c58042b

Please sign in to comment.