jenkinsci / jenkinsfile-runner

A command line tool to run Jenkinsfile as a function
MIT License
1.13k stars 291 forks source link

Build-time Jenkinsfile Runner initialization with Quarkus #585

Open oleg-nenashev opened 2 years ago

oleg-nenashev commented 2 years ago

Currently Jenkinsfile Runner takes a few seconds to initialize due to loading of plugins and configurations. In many cases it can be done during the build time so that Jenkinsfile Runner starts up much faster. Quarkus provides support for build-time initialization even if native images are not used

Why?

A few seconds of startup are not a problem for common pipelines that take minutes and hours. At the same time it becomes a serious issue if Jenkinsfile Runner is used to execute particular Jenkins steps in a container, e.g. within Tekton. Having an immediate startup there would significantly improve developer experience and optimiz resource usage

Scope

References