A trivial Maven-based Spring Boot application that is used as an example project in which a GitLab CI/CD pipeline for the following git workflow is added.
The following Maven goals can be executed on the project to ensure code quality.
In the version of the project that has no CI/CD pipeline, these goals need to be executed manually.
Verify that the source-code adheres to the Ivan Coding Style.
Performs source-code analysis checking for common programming flaws.
Performs static code analysis looking for common bug patterns.
Ensure that the minimum amounts of code covered by tests is reached.
This branch contains the project after the GitLab CI/CD pipeline was added.
Link to article in which this project is used:
https://www.ivankrizsan.se/2019/09/28/gitlab-ci-cd-pipeline-for-maven-based-applications/