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

Allow loading libraries in evaluated scripts

    XMLWordPrintable

Details

    Description

      When I am trying to load a library in the evaluated script, I get "Could not find any definition of libraries [foo]" error. The minimal job is like this:

      evaluate '@Library("foo") _'
      

      It would be really nice if this code worked as-is, but any workaround would help me too.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rtimush Roman Timushev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: