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

Allow to use @Grab in a Script Console

    XMLWordPrintable

Details

    Description

      Currently @Grab works only in Groovy scripts run on a forked JVM. In a Script Console and System Groovy Scripts it ends with:

      FATAL: org/apache/ivy/core/report/ResolveReport
      java.lang.NoClassDefFoundError: org/apache/ivy/core/report/ResolveReport
      

      It is sometimes useful to be able to extend script abilities with external libs (like HTTP Builder).

      Attachments

        Issue Links

          Activity

            emszpak Marcin Zajączkowski created issue -
            vjuranek vjuranek made changes -
            Field Original Value New Value
            Assignee vjuranek [ vjuranek ] Lucie Votypkova [ lvotypkova ]
            danielbeck Daniel Beck made changes -
            Issue Type Bug [ 1 ] New Feature [ 2 ]
            pmatignon Patrice Matignon made changes -
            Link This issue is related to JENKINS-15512 [ JENKINS-15512 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 149656 ] JNJira + In-Review [ 177425 ]
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-29068 [ JENKINS-29068 ]
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-26192 [ JENKINS-26192 ]
            bence_takacs Bence Takacs made changes -
            Link This issue is related to JENKINS-42307 [ JENKINS-42307 ]
            lvotypkova Lucie Votypkova made changes -
            Assignee Lucie Votypkova [ lvotypkova ] vjuranek [ vjuranek ]

            People

              vjuranek vjuranek
              emszpak Marcin Zajączkowski
              Votes:
              12 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated: