In this project I'm demonstrating how to scale up and scale down number of running instances of your Spring Boot application by the Jenkins pipeline. Jenkins integrates with discovery based on Spring Cloud Netflix Eureka, and endpoints provided Spring Boot Actuator.
The example is available in the branch master. A detailed guide may be find in the following article: Spring Boot Autoscaler