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

[jdks] Add offline mode #1385

Open
charphi opened this issue May 12, 2023 · 0 comments
Open

[jdks] Add offline mode #1385

charphi opened this issue May 12, 2023 · 0 comments
Labels
enhancement New feature or request maven Affects Maven plugins

Comments

@charphi
Copy link

charphi commented May 12, 2023

Is your feature request related to a problem? Please describe.
jdks:setup-disco fails when offline which is normal since it calls a webservice.
The problem is that this behavior stops my entire workflow even if the JDK is already in the cache.

Describe the solution you'd like
Don't fail when offline if everything is already in the cache.
Could be done by putting the response of disco API in the cache alongside the JDK.

Describe alternatives you've considered
My current workaround is to copy-paste manually the jdk in the right folder and then launch my workflow using the disco.setup.skip parameter.

Additional context
My corporate Windows laptop is not really offline but some operations are restricted when on site (works fine out of office).

@charphi charphi added the enhancement New feature or request label May 12, 2023
@aalmiray aalmiray added the maven Affects Maven plugins label May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maven Affects Maven plugins
Projects
None yet
Development

No branches or pull requests

2 participants