We are going to use PetClinic, available on GitHub. It is a sample spring application with JUnit test cases already written for it.
Note
A sample Spring-based application https://github.com/spring-projects/spring-petclinic .
The PetClinic sample application can be used to build simple and robust database-oriented applications to demonstrate the use of Spring's core functionality. It is accessible via web browser:
A few use cases:
Add a new pet owner, a new pet, and information pertaining to a visit to the pet's visitation history to the system
Update the information pertaining to a pet and pet owner
View a list of veterinarians and their specialties, a pet owner, a pet, and pet's visitation history
Once a WAR file is created, we can deploy it in Tomcat or another web server, and to verify it on the localhost
, visit http://localhost:8080/petclinic
. You will see something like this:
These are the tasks we will try to complete in the rest of the chapters:
Jenkins installation, configuration, UI personalization
Java configuration (
JAVA_HOME
) in JenkinsMaven or Ant configuration in Jenkins
Plugin installation and configuration in Jenkins
Security (access control, authorization, and project-based security) in Jenkins
Jenkins build configuration and execution
Email notification configuration
Deploying a WAR file to a web application server
Creating and configuring a build/deployment pipeline
Installing and configuring Chef
Installing and configuring Docker
Creating and configuring a virtual machine in AWS, Microsoft Azure, and containers
Deploy a WAR file into a virtual machine and a container
Configuring infrastructure monitoring
Orchestrating the application delivery pipeline using Jenkins plugins