简体   繁体   中英

Is it possible to download and configure jenkins with a script?

I want to develop a continuous integration with one or many scripts locally and then on a server.

For that I need Jenkins. I installed jenkins in a docker container, but would it be possible to configure it with a script so that the configuration can be used on any computer that runs it? When I talk about configuration, I'm talking about jenkins jobs and plugins.

You can use a configuration management tool like chef or ansible to install and configure in automated way. If using chef you can use the community cookbook . If you are only looking for creating jobs automated way check this thread . Similar way you will be able to create groovy script to install plugins as well.

Also take a look at this article

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM