-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
I'd like to be able to access the Jenkins instance(probably a configurable setting) and it's plugins classes. Importing them fails...
This will allow, for example, to use the github-api as an authenticated user(as long as it's configurable in Jenkins of course) as opposed to accessing it anonymously(and this will require additional libs in the classpath).
The groovy post build plugin add the jenkins instance classpath as seen here.
- is duplicated by
-
JENKINS-28701 Script runs in Script Console but not with Job DSL groovy
- Closed
-
JENKINS-52266 Unable to use credentials in groovy class
- Closed