Open rlogiacco opened 5 years ago
Did you check the service log in docker? If for example the agent is unable to pull the requested image, it shows the error only in the docker service log for a short time before the failed service disappears. In Jenkins, this currently waits indefinitely for the never running agent.
I managed to install and (hopefully) configure the plugin: I'm now able to see the Swarm Dashboard and all my nodes are listed, but there is where I'm now stuck at.
What I tried is to use the label defined in the template (
docker-slave
) as the value for the Pipeline Model Definition > Docker Label, but this puts all my builds on-hold pending for aagt-shared_master_6-2
slave which never gets started:On the Jenkins logs I can't find any valuable information:
Same applies for the Jenkins web interface which hangs indefinitely:
I've double checked the TCP connection is open and responding:
Now, either there's something I haven't understood or I'm using this plugin in the wrong way: in both cases, I'm seeking for help...