Refer to the following steps:
- To start the Jenkins job, click on Build on the right side. Check for the Jenkins logs:
In our example, every time a developer merges any changes into the GitHub repository, it is going to trigger the job from Jenkins and build the latest version of the code. After it is built, we can also configure JUnit to automate test cases in the Jenkins job. Doing this improves the development life cycle and makes our process robust.