-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Enable windows reproducible build comparisons to Jenkins Pipelines #743
Comments
Signing and removing signature require Also on jenkins windows agent I got the following two types errors. One is complaining modules is not a jimage file and other is not a jmod file. Both I have double check the files exist. @andrew-m-leonard any idea?
One is using jimage to expand the modules image
|
@sophia-guo that looks odd, i've only seen that error when the path was wrong |
Yes, that's what I suspect. I did some echo and the files are there.
The only difference between the path is one is using backslash and the other one is using foreward slash. |
Do the jimage and jmod command in the base directory of the modules and jmod will not get this issue, e.g
|
signtool installed with window 10 sdk https://github.com/adoptium/infrastructure/blob/9c7b1e1d26395098459dbcc7e5e54cc6e1d5f9a4/ansible/playbooks/AdoptOpenJDK_Windows_Playbook/roles/WiX/tasks/main.yml Explicitly set signtool path signToolPath="/cygdrive/c/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x64/signtool.exe" Remove signature
Sign signature with generated openssl certificate alway failed. |
@sophia-guo I remember having to update my PATH to find signtool on my test Windows server, so above looks correct. For: SignTool Error: Missing filename.
|
Quotes doesn't work either. Same issue with jmod and jimage. If cd the folder of the file and do the command works. |
From cygwin any paths pass to windows program jmod, jimage, signtool need to be in Windows (not cygwin) format. Need use cygpath to convert the path. |
Tried openssl to create self-signed certificates and works.
|
Interesting in jenkins windows using jmod and jimage to extract and nothing get extracted and return code is zero. In local windows cygwin no similar issue. |
Turns out the option --dir also need window path, otherwise the command succeeds with unexpected directory(slash removed) |
Part of adoptium/temurin-build#3245, which needs to
The text was updated successfully, but these errors were encountered: