jenkinsci/jenkinsfile-runner

Document ways to include shared libraries when running jenkinsfile-runner

Open

#204 创建于 2019年10月17日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)Java (1,090 star) (291 fork)batch import
documentationgood first issuequestion

描述

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.

贡献者指南

Document ways to include shared libraries when running jenkinsfile-runner · jenkinsci/jenkinsfile-runner#204 | Good First Issue