Skip to content

Sample Maven project with a Jenkinsfile doing git-flow based release management

Notifications You must be signed in to change notification settings

elpableras/jenkins-pipeline-gitflow-maven

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jenkins-pipeline-gitflow-maven

This is a sample Maven project with a Jenkinsfile for doing gitflow based release management.

The Jenkinsfile is used by Jenkins to build a pipeline with the described steps. Actual gitflow release management is performed by jgitflow-maven-plugin maven plugin.

Jenkins job

In order to fully use the gitflow for a project, it is better to create a Multibranch Pipeline job. For each branch, Jenkins will create a separate pipeline from the Jenkinsfile, available in the branch. Note that I was able to have avoid multiple problems with flow by specifying the Wipe out repository & force clone additional behaviour for the job.

About

Sample Maven project with a Jenkinsfile doing git-flow based release management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 76.6%
  • Dockerfile 23.4%