Overview
I used a Java blogging application to practise build automation. The committed Jenkins pipeline compiles, tests and packages the application with Maven.
Docker and Kubernetes resources are available in the repository, but they are not executed by the current Jenkinsfile.
Implementation
- Set up Jenkins stages for Maven compile, test and package using Java 17.
- Kept Docker packaging and Kubernetes deployment resources separate from this build pipeline.
What runs in Jenkins
The committed Jenkinsfile uses Java 17 and Maven to compile, test and package the application. Docker packaging and Kubernetes deployment configuration are maintained separately from this Maven CI pipeline.