jenkinsci/jenkinsfile-runner

Document ways to include shared libraries when running jenkinsfile-runner

Open

#204 opened on Oct 17, 2019

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Java (1,090 stars) (291 forks)batch import
documentationgood first issuequestion

Description

Just curious if there is anyway to load shared-libraries when jenkinsfile-runner invokes the pipeline. I read the comment below from (#23) from a year go, wondering if not currently supported would it be in the roadmap?

jenkinsfile-runner in it's current design only can run a Jenkinsfile that can execute on a green field jenkins installation without any specific setup. So tons of use cases won't be supported, like using tool installations, credentials, variables, plugins with specific configuration, and ... shared libraries.

For those, we need jenkinsfile-runner to include some jenkins configuration, and I indeed would like to get JCasC used for this purpose.

Contributor guide