Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14982

SSH's Groovy Shell with limited class loader class - similar to JENKINS-14154 & JENKINS-6068

      Running the same groovy script on the web interface or on SSH's groovysh should have the same result. It doesn't, because SSH's classloader doesn't recognize the plugins (and possibly other classes)

      i.e.

      import hudson.scm.SubversionSCM
      println(SubversionSCM.class)

      won't work on SSH

          [JENKINS-14982] SSH's Groovy Shell with limited class loader class - similar to JENKINS-14154 & JENKINS-6068

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/cli/GroovyshCommand.java
          http://jenkins-ci.org/commit/jenkins/ce0a36ffbd3a4d506303c825cc737d1c925ab6b5
          Log:
          [FIXED JENKINS-14982]

          Groovy should use uberClassLoader for resolving stuff.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/cli/GroovyshCommand.java http://jenkins-ci.org/commit/jenkins/ce0a36ffbd3a4d506303c825cc737d1c925ab6b5 Log: [FIXED JENKINS-14982] Groovy should use uberClassLoader for resolving stuff.

          dogfood added a comment -

          Integrated in jenkins_main_trunk #1884
          [FIXED JENKINS-14982] (Revision ce0a36ffbd3a4d506303c825cc737d1c925ab6b5)

          Result = SUCCESS
          kohsuke : ce0a36ffbd3a4d506303c825cc737d1c925ab6b5
          Files :

          • changelog.html
          • core/src/main/java/hudson/cli/GroovyshCommand.java

          dogfood added a comment - Integrated in jenkins_main_trunk #1884 [FIXED JENKINS-14982] (Revision ce0a36ffbd3a4d506303c825cc737d1c925ab6b5) Result = SUCCESS kohsuke : ce0a36ffbd3a4d506303c825cc737d1c925ab6b5 Files : changelog.html core/src/main/java/hudson/cli/GroovyshCommand.java

            joantune João Antunes
            joantune João Antunes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: