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

21 views
Skip to first unread message

Tim Jacomb

unread,
Apr 6, 2021, 4:28:33 AM4/6/21
to Jenkins Developers
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

Gareth Evans

unread,
Apr 6, 2021, 2:38:40 PM4/6/21
to jenkin...@googlegroups.com
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

--
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 jenkinsci-de...@googlegroups.com.
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@cloudbees.com
Twitter: @garethbryncyn 


Reply all
Reply to author
Forward
0 new messages