Open David-Villeneuve opened 4 years ago
Isn't it this option, you are looking for?
I'm sorry, I was not clear in my question. The option shown is for the whole swarm cloud defined, not the individual agent templates. Not every template we have using the non-swarm plug-in that we would want to move to swarm is using the same Docker network. I guess it is more a question of granularity.
@David-Villeneuve : can't you just add a second swarm cloud in jenkins config? Sorry, I never tried that before.
This would be quite a useful feature. Defining a second swarm cloud unfortunately doesn't work: https://github.com/jenkinsci/docker-swarm-plugin/issues/90
Is there a way to have an agent use a specific --network option?
Currently using the regular docker plug-in, where there is an option for this, but no discernible way to specify this with docker-swarm.