Skip to content

Commit

Permalink
Pass patch number into installer job
Browse files Browse the repository at this point in the history
Patch numbers have been added into the upstream build jobs for Windows,
but are not passed downstream, where it appears to prevent us from
finding the build in the installer job.

Signed-off-by: Adam Farley <adfarley@redhat.com>
  • Loading branch information
adamfarley committed Nov 10, 2020
1 parent 7a85811 commit d8e7cbd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,9 @@ class Build {
context.string(name: 'PRODUCT_MAJOR_VERSION', value: "${versionData.major}"),
context.string(name: 'PRODUCT_MINOR_VERSION', value: "${versionData.minor}"),
context.string(name: 'PRODUCT_MAINTENANCE_VERSION', value: "${versionData.security}"),
context.string(name: 'PRODUCT_PATCH_VERSION', value: "${buildNumber}"),
context.string(name: 'PRODUCT_PATCH_VERSION', value: "${versionData.patch}"),
context.string(name: 'PRODUCT_BUILD_NUMBER', value: "${buildNumber}"),
context.string(name: 'MSI_PRODUCT_VERSION', value: "${versionData.msi_product_version}"),
context.string(name: 'PRODUCT_CATEGORY', value: "jdk"),
context.string(name: 'JVM', value: "${buildConfig.VARIANT}"),
context.string(name: 'SIGNING_CERTIFICATE', value: "${certificate}"),
Expand Down Expand Up @@ -446,7 +448,9 @@ class Build {
context.string(name: 'PRODUCT_MAJOR_VERSION', value: "${versionData.major}"),
context.string(name: 'PRODUCT_MINOR_VERSION', value: "${versionData.minor}"),
context.string(name: 'PRODUCT_MAINTENANCE_VERSION', value: "${versionData.security}"),
context.string(name: 'PRODUCT_PATCH_VERSION', value: "${buildNumber}"),
context.string(name: 'PRODUCT_PATCH_VERSION', value: "${versionData.patch}"),
context.string(name: 'PRODUCT_BUILD_NUMBER', value: "${buildNumber}"),
context.string(name: 'MSI_PRODUCT_VERSION', value: "${versionData.msi_product_version}"),
context.string(name: 'PRODUCT_CATEGORY', value: "jre"),
context.string(name: 'JVM', value: "${buildConfig.VARIANT}"),
context.string(name: 'SIGNING_CERTIFICATE', value: "${certificate}"),
Expand Down

0 comments on commit d8e7cbd

Please sign in to comment.