You can write all the configuration in groovy and it will execute when the Jenkins process starts up.
There is also "Jenkins Configuration as Code" plugin which allows you to have a single yaml file to configure most of the Jenkins system.
https://github.com/jenkinsci/configuration-as-code-plugin/bl...
I guess what I'm driving at is that it's not very declarative and it's cumbersome.
You can write all the configuration in groovy and it will execute when the Jenkins process starts up.
There is also "Jenkins Configuration as Code" plugin which allows you to have a single yaml file to configure most of the Jenkins system.
https://github.com/jenkinsci/configuration-as-code-plugin/bl...