Skip to content

Commit

Permalink
Update build_base_file.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
sxa authored Nov 8, 2023
1 parent 4106ddc commit cb5691c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/build/common/build_base_file.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ class Builder implements Serializable {
['$class': 'BooleanParameterValue', name: 'RELEASE', value: release],
['$class': 'BooleanParameterValue', name: 'DRY_RUN', value: false],
context.string(name: 'TAG', value: ((scmReference && (javaVersion=="jdk21" || javaVersion=="jdk22"))?(scmReference.replace('_adopt','')):tag)),
context.string(name: 'TIMESTAMP', value: ((javaVersion=="jdk21" || javaVersion=="jdk22")?publishName:timestamp)),
context.string(name: 'TIMESTAMP', value: ((scmRefetence && (javaVersion=="jdk21" || javaVersion=="jdk22"))?publishName:timestamp)),
context.string(name: 'UPSTREAM_JOB_NAME', value: env.JOB_NAME),
context.string(name: 'UPSTREAM_JOB_NUMBER', value: "${currentBuild.getNumber()}"),
context.string(name: 'VERSION', value: javaVersion)
Expand Down

0 comments on commit cb5691c

Please sign in to comment.