This is an example that show the most common practices to include in a Jenkins Pipeline.
Building this project requires knowledge of Java and Docker. To use the pre-defined structure of CI/CD you just need to setup an Docker and Docker Compose environment. Once you have install this you just type:
docker-compose up -d
All the infrastructure to see the workflow of CI/CD would be available.