Jenkins CLI groovy command cant access classes from workflowLibs.git

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I would like to run snippets of groovy code (that access classes defined in the workflowLibs.git repository) via the Jenkins CLI using the groovy and groovsh command support.

      Currently Jenkins CLI starts executing the groovy code, but cant find the relevant classes (defined in workflowLibs.git repo).

      I think this is just a matter of having the right classpath setup in the groovy/groovysh backend on the Jenkins server that is accessed via the CLI (as is done auto-magically for the script area within the workflow job definition).

            Assignee:
            Jesse Glick
            Reporter:
            Nicholas Corran
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: