-
-
Notifications
You must be signed in to change notification settings - Fork 41
jenkins integration multibranch pipeline
Matthieu Brouillard edited this page Jan 6, 2017
·
1 revision
Considering you have a working Jenkins environment correctly setup with:
- maven > 3.3.x
- Folders, Git & Pipeline plugins installed (with their respective dependencies)
Then you can create on your jenkins instance a multibranch pipeline job that will automatically make use of jgitver
- Multibranch pipeline job creation
- Set git source to demo project: https://github.com/jgitver/demo-ci-jgitver-maven-plugin
!!! WARNING !!! set the additional behavior as shown so that branches are checkout instead of SHA1 git commitID
- set job definition by Jenkinsfile and save
- jenkins indexes existing branches
- you're done
👍
- easy to setup
- build every branch
👎
- does not build PR
- tags are not built automatically
Usage guide
- Starting from scratch
- Introduce jgitver-maven-plugin in existing project
- Use a lightweight tag to change project version
IDE usage
Continuous integration
- native GIT aware travis-ci circle-ci
- jenkins integration multibranch pipeline
- continuous deployment - semi automated
- automatic builds for maven, jenkins and gitbucket
Developer & contributions guide