Jenkins Orchestrator can be used to setup jenkins in master-agent mode where the master is a docker container and a JNPL agent as agents.
The agent can be scaled up to add more Nodes in the jenkins cluster.
#How to use
- First you need to install docker and docker compose.
- Then use docker-compose up to start jenkins.
- You need to add Node in jenkins UI and it ll generate a token.
- That tocken you have add in secrete in docker-compose file.
- Then use docker-compose restart to restart the containers. 6.Now jenkins will show agent connected.