The Gradle tool installer is not the only tool having this problem. I am getting the same SSL problem with Groovy tool installers.
Makes me wonder, what does the maven tool installer do different than the Gradle and Groovy tool installers. mandag 23. september 2019 22.26.10 UTC+2 skrev Sverre Moe følgende: > > I have gotten this problem both for Jenkins running Java 8u221 and Java > 11.0.4+11. The latest for both 8 and 11. > > Maven tool download works just fine, using the same JDK, so why would the > gradle installer have a problem? > > I do not like to check in the gradle wrapper files into version control, > but considering it might ease new developers I am beginning to lean into it. > > mandag 23. september 2019 18.25.04 UTC+2 skrev Jan Monterrubio følgende: >> >> I’ve always relied on projects supplying the gradle wrapper instead... >> that might be a good alternative if you can’t upgrade the JRE >> >> On Mon, Sep 23, 2019 at 05:37 Daniel Beck <db...@cloudbees.com> wrote: >> >>> >>> >>> On Mon, Sep 23, 2019 at 2:28 PM Sverre Moe <sver...@gmail.com> wrote: >>> >>>> ERROR: Failed to download >>>> https://services.gradle.org/distributions/gradle-5.6.2-bin.zip from agent; >>>> will retry from master >>>> >>>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find >>>> valid certification path to requested target >>>> >>>> >>>> >>>> Which makes me believe that the Gradle tool does not use Jenkins Proxy >>>> settings, while Maven tools does use it. >>>> >>> >>> The error means it's an SSL issue. If you're on an old JRE, update it. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to jenkins...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/CAMo7PtLJW%2BeMQ-509sB%2Bv%2BdAtz_%3DDudWMsiE-eCdZYfduAPcyA%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/jenkinsci-users/CAMo7PtLJW%2BeMQ-509sB%2Bv%2BdAtz_%3DDudWMsiE-eCdZYfduAPcyA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/be305763-141f-438e-b16e-d00d4a010a30%40googlegroups.com.