简体   繁体   中英

How to create dynamic slave in jenkins

I have requirement to create dynamic slave in jenkins ,the backgroud is i would be creating dynamic cloud instances on run time in linux.So I wont be knowing the fixed IP address for slave configuration.So please help to explain to create slave dynamically .Is there any already existing plugin available or need to write groovy script.

How i could use RemoteLauncher .I am new to grrovy script.Are there any simple steps to achieve..

Thanks

You should give a try to Docker, as you can configure a docker image with your environment and you can configure jenkins to launch dinamically any docker container instances you need.

I recommend you to check the Docker documentation and these plugins:

https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin

https://wiki.jenkins-ci.org/display/JENKINS/Docker+build+step+plugin

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