-
-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass patch number into installer job #2218
Pass patch number into installer job #2218
Conversation
Ok, I think this is the fix for the Windows installer issue seen here: Step 1: Add "PRODUCT_BUILD_NUMBER" as a parameter for the create_windows_installer job.
Step 4: Merge this PR I don't have access to the installer job config, and I'm not seeing scripts for them, so I assume steps 1-3 will have to be done manually, inside the job, by someone with access. Does that sound right? EDIT: This is now: Step 1: Add "PRODUCT_BUILD_NUMBER" as a parameter for the create_windows_installer job. Step 2+3: Merge adoptium/installer#258 Step 4: Merge this PR. |
Instead of renaming the existing ones we could just add |
This is true, though since Andrew's new variable inside Version Info is called "patch" (e.g. major.minor.(security|maintenance).patch+build), I was trying for consistency with the variable names. I'm happy to set "consistency" aside for now if it poses a problem, or makes things significantly more difficult. |
This PR is paired with adoptium/installer#258 Both should be merged at the same time, ideally when no Windows jobs are running. |
@adamfarley should this still be WIP? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's good to see this kind if error fixed : PATCH != buildNumber
Where does the buildNumber come from ? Jenkins job build number ?
@douph1 Can we simply make this code: https://github.com/AdoptOpenJDK/openjdk-installer/blob/fe8c79d25551401db3cb06b3c7a72f013a56051c/wix/Build.OpenJDK_generic.cmd#L111 |
Good idea for a new PR, I think. Right now I'm looking at the JDK8 issue. P.S. https://github.com/AdoptOpenJDK/openjdk-build/pull/2219/files should go in before this change, so they merge properly. |
JDK8 issue resolved. |
c37561d
to
d8e7cbd
Compare
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>
d8e7cbd
to
56a6310
Compare
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