-
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
[JENKINS-8892] patch to resolve plugin's class on Groovy CLI
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 139036 ] | New: JNJira + In-Review [ 188302 ] |
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.