We are now at the heart of the CI design. We will be creating a Multibranch Pipeline in Jenkins that will have the following stages:
- Fetch the code from the version control system (VCS) on a push event (initialization of the CI pipeline).
- Build and unit test the code, and publish a unit test report on Jenkins.
- Perform static code analysis on the code and upload the result to SonarQube. Fail the pipeline if the number of bugs crosses the threshold defined in the quality gate.
- Perform integration testing and publish a unit test report on Jenkins.
- Upload the built artifacts to Artifactory along with some meaningful properties.
The purpose of the previous CI pipeline is to automate the process of continuously building, testing ...