jenkinsci/jenkinsfile-runner

Document ways to include shared libraries when running jenkinsfile-runner

Open

#204 aberto em 17 de out. de 2019

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Java (291 forks)batch import
documentationgood first issuequestion

Métricas do repositório

Stars
 (1.090 stars)
Métricas de merge de PR
 (Mesclagem média 47d 2h) (3 fundiu PRs em 30d)

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.

Guia do colaborador