Hi, does anyone use the jenkins nomad plugin GitHub - jenkinsci/nomad-plugin: Nomad cloud plugin for Jenkins, or have found an alternative solution to manage jenkins slave on nomad?
Yes, I/we use.
You can manage jenkins slaves manually/statically, just like you would from terminal or so, but with nomad jobs.
I currently experiment with the Nomad cloud plugin as well. I had some success following along Ola Ogunseghas instructions and example code here:
- Jenkins Build Agents on Nomad Workers | by Ola Ogunsegha | FAUN — Developer Community 🐾
- jenkins-nomad/jenkins-controller/nomad.yaml at main · GastroGee/jenkins-nomad · GitHub
I currently spin up Podman containers from the job spec, but you can easily adjust that:
- README - nomad - HCL and Docker files for Nomad deployments
- jenkins.nomad - nomad - HCL and Docker files for Nomad deployments
- jenkins.yaml.tmpl - nomad - HCL and Docker files for Nomad deployments
Hope it helps.