Skip to content

Commit

Permalink
[incubator-kie-issues#655] Build optaplanner quickstarts from correct…
Browse files Browse the repository at this point in the history
… branch
  • Loading branch information
cimbalek authored and jstastny-cz committed Nov 29, 2023
1 parent af5a143 commit fdbfa61
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .ci/jenkins/project/Jenkinsfile.nightly
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,15 @@ pipeline {
def buildParams = getDefaultBuildParams(getBuildBranch())
addSkipTestsParam(buildParams)
addSkipIntegrationTestsParam(buildParams)
def quickstartsBranch = getBuildBranch() == 'main' || getBuildBranch() == '9.x'
? 'development' : getBuildBranch()
String quickstartsBranch
switch (getBuildBranch()) {
case 'main': quickstartsBranch = '8.x'
break
case '9.x': quickstartsBranch = 'development'
break
default : quickstartsBranch = getBuildBranch()
}

addStringParam(buildParams, 'QUICKSTARTS_BUILD_BRANCH_NAME', quickstartsBranch)

buildJob(OPTAPLANNER_DEPLOY, buildParams)
Expand Down

0 comments on commit fdbfa61

Please sign in to comment.