This repository is a PoC that shows how to use slaves on demand on Jenkins based on Docker in Kubernetes Cluster.
1- Make sure you have a Jenkins deployed in a Kubernetes Cluster and the Cloud configuration for use the Kubernetes cluster.
2- Please install Jenkins Pipeline plugin.
3- Create a Multibranch Pipeline job and point to this repository.