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

Update setup-java to v2 #49

Merged
merged 1 commit into from
Apr 6, 2021
Merged

Update setup-java to v2 #49

merged 1 commit into from
Apr 6, 2021

Conversation

timja
Copy link
Member

@timja timja commented Apr 6, 2021

jenkinsci/azure-artifact-manager-plugin#14

See https://github.com/actions/setup-java/blob/main/docs/adrs/0000-v2-setup-java.md

Note: this has a breaking change in it, distribution is now required, and worse our repoes only using github actions for CD don't test the action on CI

@jenkinsci/github-admins

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is definitely a right change. I wonder whether JEP should be updated as well.

P.S: There might be also a renaming to adoptium later

@timja
Copy link
Member Author

timja commented Apr 6, 2021

This is definitely a right change. I wonder whether JEP should be updated as well.

this is an implementation detail

@oleg-nenashev oleg-nenashev merged commit 6527c06 into jenkinsci:master Apr 6, 2021
@timja timja deleted the patch-1 branch April 6, 2021 09:00
@jglick
Copy link
Member

jglick commented Apr 6, 2021

with:
distribution: 'adopt'
java-version: 1.8
Copy link
Member

@jglick jglick Apr 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acc. to @garethjevans this also needs to be switched to 8 (or distribution be set to the original zulu)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#50, apparently the only place I tested it in CI was using jdk 11 🤦

jglick added a commit to jenkinsci/jenkins-test-harness that referenced this pull request Apr 7, 2021
jglick added a commit to jenkinsci/file-parameters-plugin that referenced this pull request Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants