Skip to content

Commit

Permalink
NO-ISSUE: Fix weekly Jenkins job build params (#3103)
Browse files Browse the repository at this point in the history
* Fix weekly Jenkins job build params

* Update quickstarts build branch
  • Loading branch information
rodrigonull authored Jun 21, 2024
1 parent 9e978e9 commit f604b5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci/jenkins/project/Jenkinsfile.weekly
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ pipeline {
def buildParams = getDefaultBuildParams()
addSkipTestsParam(buildParams)
addSkipIntegrationTestsParam(buildParams)
String quickstartsBranch = getBuildBranch() == 'main' ? 'development' : getBuildBranch()
addStringParam(buildParams, 'QUICKSTARTS_BUILD_BRANCH_NAME', quickstartsBranch)

buildJob(OPTAPLANNER_DEPLOY, buildParams)
}
Expand Down Expand Up @@ -153,7 +155,6 @@ List getDefaultBuildParams() {
List params = []
addStringParam(params, 'DISPLAY_NAME', "${env.WEEKLY_TAG}")
addStringParam(params, 'GIT_CHECKOUT_DATETIME', getCheckoutDatetime())
addStringParam(params, 'QUICKSTARTS_BUILD_BRANCH_NAME', getBuildBranch())
addBooleanParam(params, 'SEND_NOTIFICATION', true)

return params
Expand Down

0 comments on commit f604b5e

Please sign in to comment.