how to run docker commands inside jenkins pipeline jobs
This Jenkins plugin is for the docker client; I'd solve (work around) by:
- setting up jenkins slaves where docker daemon is reachable, add a label
- setting up a housekeeping job which will fail if docker daemon was not reachable (so we can notify the infra team without having the QA to figure out and escalate the problem)
- assign jobs which assumes the docker daemon to be reachable to this label
I hope it helps, and I'm curious if any of you have a better solution!