-
Patch
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 1.398
Cannot resolve plugin's class on Groovy CLI.
java -jar jenkins-cli.jar -s http://jenkinsserver/ groovy add_ssh_slave.groovy
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, RemoteClass: 3: unable to resolve class hudson.plugins.sshslaves.SSHLauncher
@ line 3, column 1.
1 error
Code changed in jenkins
User: Kohsuke Kawaguchi
Path:
changelog.html
core/src/main/java/hudson/cli/GroovyCommand.java
http://jenkins-ci.org/commit/core/9f09e8ac59e97ee1f79f83e505488ebd98d8d6b6
Log:
[FIXED JENKINS-8892] set the classloader for GroovyShell
Otherwise plugin classes won't resolve.