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

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Activity

          joantune João Antunes created issue -
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 145683 ] JNJira + In-Review [ 191588 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: