Plugins that use CD for release - setup-java@v2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Plugins that use CD for release - setup-java@v2

Tim Jacomb
Hello

Just a heads up if you're using https://www.jenkins.io/jep/229 for releasing your plugins automatically, and dependabot you will be getting a PR to update setup-java to v2.

This has a breaking change and it won't be tested on CI if you're only using github actions for release.

You will need to set the 'distribution' flag now as it's a required input.


Thanks
Tim

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3BieYU-WsNvB7Q9Q5-EFVtq6AX%3D3W4xiv3TG-H_Vr-gZAuA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugins that use CD for release - setup-java@v2

Gareth Evans-2
To follow up on this, I found that I also needed to change `java-version: 1.8` to `java-version: 8` when using `distribution: 'adopt'`.  1.8 seems to be working for other distributions.

Gareth

On Tue, 6 Apr 2021 at 09:28, Tim Jacomb <[hidden email]> wrote:
Hello

Just a heads up if you're using https://www.jenkins.io/jep/229 for releasing your plugins automatically, and dependabot you will be getting a PR to update setup-java to v2.

This has a breaking change and it won't be tested on CI if you're only using github actions for release.

You will need to set the 'distribution' flag now as it's a required input.


Thanks
Tim

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3BieYU-WsNvB7Q9Q5-EFVtq6AX%3D3W4xiv3TG-H_Vr-gZAuA%40mail.gmail.com.


--

Gareth Evans
Principal Software Engineer

CloudBees, Inc.


E: gevans[hidden email]
Twitter: @garethbryncyn 


--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAOHmWa%3D-Sp4Jf7AkQ3VdmW2jnUOoxr2MMk-0jQiWNhZ9pHtuPA%40mail.gmail.com.