Jenkins pipeline which do the following jobs automatically:
-
Checkout code from remote repository.
-
Building code (maven project).
-
Testing the code using mvn tests.
-
Triggering job and fetching artefact after finishing. Jobs are described using DSL in jobs.groovy file in this repo.
-
Packaging and Publishing results (into Nexus repository).
-
Asking for manual approval.
-
Deployment to Apache Tomcat application server.