[JIRA] (JENKINS-58672) Stop installing Oracle JDK 6 when there is no Java found on the agent

8 views
Skip to first unread message

o.v.nenashev@gmail.com (JIRA)

unread,
Jul 26, 2019, 4:55:02 AM7/26/19
to jenkinsc...@googlegroups.com
Oleg Nenashev created an issue
 
Jenkins / Bug JENKINS-58672
Stop installing Oracle JDK 6 when there is no Java found on the agent
Issue Type: Bug Bug
Assignee: Emilio Escobar
Components: windows-slaves-plugin
Created: 2019-07-26 08:54
Priority: Critical Critical
Reporter: Oleg Nenashev

The plugin tries to automatically install Java on the agent when it is not found. https://github.com/jenkinsci/windows-slaves-plugin/blob/d7f0dd6a274456d2d2cc0fc6bd67aef5382bfae9/src/main/java/hudson/os/windows/ManagedWindowsServiceLauncher.java#L235

This code does not work for new Jenkins versions anyway, because Java 6 is no longer supported. But if it magically works and installs something, it will be a subject to usage and license constraints documented in https://github.com/jenkinsci/jdk-tool-plugin 

I suggest just removing the Java auto-install feature. If it is not possible, we should probably switch to https://github.com/jenkinsci/adoptopenjdk-plugin

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

o.v.nenashev@gmail.com (JIRA)

unread,
Jul 26, 2019, 4:56:02 AM7/26/19
to jenkinsc...@googlegroups.com

bmathus+ossjira@cloudbees.com (JIRA)

unread,
Jul 30, 2019, 4:32:03 AM7/30/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages