Archive for 2020



Jul 04 2020

Register a Jenkins Slave with Ansible

Published by under Ansible

We saw how to add a Jenkins slave automatically in a previous post calling a REST API with Curl. Let’s automate this with Ansible to get a new node ready within minutes! You will first need a Jenkins user and associated token with the proper rights. Agent connect and create should be sufficient. I’ll simply […]

No responses yet

Apr 18 2020

Jenkins Slave Auto Register with REST API

Published by under Jenkins

Create a Jenkins node automatically with a REST API call. Most of the work is to build some json code that describes the new Jenkins slave. The configuration can be slightly different depending on the node settings you are willing to apply. To get exactly what you want, you may create a dummy slave manually […]

No responses yet