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

No way to configure classpath for groovy script files

    Details

    • Similar Issues:

      Description

      Since the update to Groovy-Plugin 2.0, the edit field for specifying a classpath is missing in the build step "Execute system groovy script" when running a groovy script file. 

      I do understand, why you removed this feature (security), but now my scripts don't work any more, because they don't find the imported groovy classes any more. 

      Is there a better way for achieving a similiar functionality like specifying a classpath? Or is it possible to specify it in another way? Or do I have to change my scripts? If it is the latter one: how do I have to change them without adding new security risks?

      In case there is no recommended solution or a workaround, we have to downgrade the Groovy-Plugin.

       

        Attachments

          Activity

            People

            • Assignee:
              vjuranek vjuranek
              Reporter:
              hardy Hardy Koebe
            • Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: