Skip to content

Sample Maven-based application to which a GitLab CI/CD pipeline is added as part of creating a git workflow.

Notifications You must be signed in to change notification settings

krizsan/git-workflow-sampleapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Workflow Sample

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. alt text

Code Quality

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.

  • mvn -Pcicdprofile checkstyle:check
    Verify that the source-code adheres to the Ivan Coding Style.
  • mvn -Pcicdprofile pmd:check
    Performs source-code analysis checking for common programming flaws.
  • mvn -Pcicdprofile spotbugs:check
    Performs static code analysis looking for common bug patterns.
  • mvn -Pcicdprofile install
    Ensure that the minimum amounts of code covered by tests is reached.
  • After

    This branch contains the project after the GitLab CI/CD pipeline was added.

    Article

    Link to article in which this project is used:
    https://www.ivankrizsan.se/2019/09/28/gitlab-ci-cd-pipeline-for-maven-based-applications/

    About

    Sample Maven-based application to which a GitLab CI/CD pipeline is added as part of creating a git workflow.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published