Hi,

I have created a Plugin to support the gitflow branching model and I convinced 
my boss tot o allow me to open source it.

It is hosted on GitHub: https://github.com/OSTHUS/jenkins-gitflow-plugin

The plugin works successfully for our setup, but not a lot of thought/effort 
has been put into it to support other setups, so I am currently not sure if it 
will work e.g. with other GIT clients than JGit.

The plugin basically does a similar Job than the Gradle script which is already 
available out there but with the plugin you get a bit of a UI to support the 
setup. Here is an example setup:
[cid:[email protected]]

*I had to replace the original name of the template job ;)


With the above setup, and the job setup to run every 15 Minutes or so, you will 
get a Job based on the given template job, but using the branch discovered. 
When a branch was removed, e.g. when a feature is finished, the corresponding 
Job is also removed from Jenkins. This is only done for branches not matching 
master or develop, we have separate Jobs to build those.

For "real" CI, we setup our template job to locally merge to develop branch 
before the build, that gives the developers feedback if their branch still 
merges to dev without conflicts and also gives them the opportunity to 
merge/rebase early in case such conflicts arise. It also means that the build 
always reflects the state after merging to dev bringing back true continuous 
integration to the gitflow concept:
[cid:[email protected]]



I am open to suggestions and appreciate every comment, but I am afraid that I 
don't get the time/funds to convert this into a proper Jenkins plugin, unless 
you tell me that there is not much involved to do so? I really only want to put 
this thing out there because I think it is quite useful ;)


Mit freundlichen Grüßen / Kind Regards

Daniel Mueller
________________________________________________
OSTHUS GmbH
Eisenbahnweg 9 - 11
Eingang TH 6
52068 Aachen

T    +49 241-94314-232
F    +49 241-94314-19
[email protected]<mailto:[email protected]>
www.osthus.com<http://www.osthus.com/>
LinkedIn<https://www.linkedin.com/company/osthus>          
Twitter<https://twitter.com/OSTHUS>            
Youtube<https://www.youtube.com/user/OsthusCompany>

Handelsniederlassung: 52068 Aachen
Register: Amtsgericht Aachen, HRB 6398
Geschäftsführer: Dr. Torsten Osthus, Wolfgang Colsman, Andreas Mohr
________________________________________________
Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten Adressaten 
bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen 
Vertreter sein sollten, so beachten Sie bitte, dass jede Form der 
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts 
dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem 
Absender der E-Mail in Verbindung zu setzen.
________________________________________________
The information contained in this email is intended solely for the addressee. 
Access to this email by anyone else is unauthorized. If you are not the 
intended recipient, any form of disclosure, reproduction, distribution or any 
action taken or refrained from in reliance on it, is prohibited and may be 
unlawful. Please notify the sender immediately.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/4DD3B9ED217122499DEC2BCA4FAD36A5B0104AA6%40win10004.member.osthus.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to