Re: Check GIT commit messages.

2013-02-27 Thread Patrick Finkbeiner
First, thanks for your reply! Great idea!! Not exactly what i searched for but a good solution for selective builds! Thank you! On Feb 27, 2013, at 9:04 AM, Jonas Geiregat wrote: > On Tue, Feb 26, 2013 at 05:40:58AM -0800, Patrick wrote: >> Hey Guys i am very new to this whole jenkins thing.

Re: Check GIT commit messages.

2013-02-27 Thread Jonas Geiregat
On Tue, Feb 26, 2013 at 05:40:58AM -0800, Patrick wrote: > Hey Guys i am very new to this whole jenkins thing. > Currently i've added a jshint check to every new commit and it works pretty > well so i want to let check jenkins much more… > > Im trying so check for the commit messages itself. Is

Re: Check GIT commit messages.

2013-02-26 Thread Patrick
Thanks for reply! Sure, the decision to reject all incorrect commits is pretty hard. I was just interested in what is possible with jenkins… Tanks! On Tuesday, February 26, 2013 3:16:01 PM UTC+1, Mark Waite wrote: > > If you want to reject a Git commit if it does not have certain text, you >

Re: Check GIT commit messages.

2013-02-26 Thread Mark Waite
If you want to reject a Git commit if it does not have certain text, you should probably refer to the Git hooks documentation to understand how to implement a Git hook on the Git SCM rather than using Jenkins to guard against incorrect commits.  Most Git books will also describe the limitations