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

Please add general support for Grape (and ivy)

XMLWordPrintable

      Please add general support for Grape in every groovy script.
      This could be done by adding ivy to the Jenkins classpath

      Since Jekins supports groovy scripting in many places, it would be best to handle it globally, not inside specific plugins.

      Background:
      if you use @Grab and @Grape annotations inside any kind of groovy scripts, you will get this error:

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

      Reason: grape personal dependency ivy is not present on Jenkins classpath
      see: https://groups.google.com/forum/#!topic/jenkinsci-issues/wMdNET2L3TU

      There is a solution only for 'job-dsl-plugin', but a general support would be more suitable:
      see also: https://issues.jenkins-ci.org/browse/JENKINS-16361
      and https://issues.jenkins-ci.org/browse/JENKINS-18349
      and https://issues.jenkins-ci.org/browse/JENKINS-18400

            Unassigned Unassigned
            bence_takacs Bence Takacs
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: