Jenkins Pipeline for Simple JAVA Project - https://github.com/spring-projects/spring-petclinic
- Jenkins
- Maven
- Docker
- Git
- SonarScanner
- Artifactory
- Tomcat
- customworkspace init
- Git pull
- SonarScanner - Fail if quality gate check fails
- Maven build
- Zip logs, build logs, test report etc
- Upload log and war file to artifactory
- Deploy war file to tomcat
- Customworkspace init
- Git pull
- SonarScanner - Fail if quality gate check fails
- Maven build
- Zip logs, build logs, test report etc
- Upload log and war file to artifactory
- Build image using DOCKERFILE
- Push image to docker hub
- Run the docker image