Skip to content
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

Windows and Mac build pipelines fail if USE_ADOPT_SHELL_SCRIPTS is false #1172

Open
Haroon-Khel opened this issue Dec 24, 2024 · 1 comment
Labels
testing windows x64 Issues that affect or relate to the x64/x32 LINUX OS

Comments

@Haroon-Khel
Copy link
Contributor

One might use USE_ADOPT_SHELL_SCRIPT = false to test their own ci.jenkins.pipelines branch, however when running a windows build it causes the build to fail during the signing stage

https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk21u/job/jdk21u-windows-x64-temurin/242/console

[Pipeline] echo
14:47:43  Execution error: hudson.AbortException: No such saved stash ‘jmods’
[Pipeline] echo
14:47:43  hudson.AbortException: No such saved stash ‘jmods’
14:47:43  	at PluginClassLoader for workflow-api//org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:160)
14:47:43  	at PluginClassLoader for workflow-basic-steps//org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:78)
14:47:43  	at PluginClassLoader for workflow-basic-steps//org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:65)
14:47:43  	at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
14:47:43  	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
14:47:43  	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
14:47:43  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
14:47:43  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
14:47:43  	at java.base/java.lang.Thread.run(Thread.java:840)

Disabling the signing, "ENABLE_SIGNER": false, bypasses this https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-windows-x64-temurin/413/console

@github-actions github-actions bot added testing windows x64 Issues that affect or relate to the x64/x32 LINUX OS labels Dec 24, 2024
@Haroon-Khel
Copy link
Contributor Author

@Haroon-Khel Haroon-Khel changed the title Windows build pipeline fails if USE_ADOPT_SHELL_SCRIPTS is false Windows and Mac build pipelines fails if USE_ADOPT_SHELL_SCRIPTS is false Dec 24, 2024
@Haroon-Khel Haroon-Khel changed the title Windows and Mac build pipelines fails if USE_ADOPT_SHELL_SCRIPTS is false Windows and Mac build pipelines fail if USE_ADOPT_SHELL_SCRIPTS is false Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing windows x64 Issues that affect or relate to the x64/x32 LINUX OS
Projects
Status: Todo
Development

No branches or pull requests

1 participant