Skip to content

Commit

Permalink
Correct force evaluation override and make BINARIES_REPO param more i…
Browse files Browse the repository at this point in the history
…ntuitive! (#940)

* Evaluation target configuration override mis-ref

Signed-off-by: Andrew Leonard <[email protected]>

* Make betaTrigger BIANRIES_REPO be the absolute repo name

Signed-off-by: Andrew Leonard <[email protected]>

---------

Signed-off-by: Andrew Leonard <[email protected]>
  • Loading branch information
andrew-m-leonard authored Feb 22, 2024
1 parent ee99ce1 commit b53bc67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/build/common/trigger_beta_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import java.time.temporal.TemporalAdjusters

def mirrorRepo="${params.MIRROR_REPO}"
def version="${params.JDK_VERSION}".toInteger()
def binariesRepo="https://github.com/${params.BINARIES_REPO}".replaceAll("_NN_", "${version}")
def binariesRepo="${params.BINARIES_REPO}"

def triggerMainBuild = false
def triggerEvaluationBuild = false
Expand Down Expand Up @@ -181,7 +181,7 @@ if (triggerMainBuild || triggerEvaluationBuild) {
jobParams.add(text(name: 'targetConfigurations', value: JsonOutput.prettyPrint(overrideMainTargetConfigurations)))
}
if (pipeline_type == "evaluation" && overrideEvaluationTargetConfigurations != "") {
jobParams.add(text(name: 'targetConfigurations', value: JsonOutput.prettyPrint($overrideEvaluationTargetConfigurations)))
jobParams.add(text(name: 'targetConfigurations', value: JsonOutput.prettyPrint(overrideEvaluationTargetConfigurations)))
}

def job = build job: "${pipeline}", propagate: true, parameters: jobParams
Expand Down

0 comments on commit b53bc67

Please sign in to comment.