Docker Community Forums

Share and learn in the Docker community.

Jenkins plugin for docker engine swarm mode

Hi guys,

There’s a requirement for us to spin up a jenkins node dynamically inside a swarm cluster and then run the jenkins job in that node and shutdown that node. For this to happen we need a jenkins plugin.

Does anyone know a good jenkins plugin for docker swarm mode (similar to one like Kubernetes jenkins plugin) ? I did search but couldn’t get anything useful.

Thanks for the help

2 Likes

What about the docker-swarm-plugin? https://github.com/jenkinsci/docker-swarm-plugin
I am just now trying to configure this but I have some problems with access to the docker API from the plugin.

Yes this is exactly the plugin for that scenario. Works great with Linux and Windows Docker Swarms.