Thanks guiliano In your post commit hook, filter out commits that are either authored by > the build user, or whose commit message matches some regex. > > Not sure how to do that in git. It works for me with hg. >
It can be done in git too. Unfortunately we are stuck with Github for this project and short of writing a new service hook (which is a possibility) and having it accepted by Gtihub there isn't a means to do this currently. Really appreciate you taking the time to respond though. We are considering forking the Jenkins Github plugin which we can change. GitHubPushTrigger knows who made the push *public void onPost(String triggeredByUser) { final String pushBy = triggeredByUser;* So maybe we can add a list of users at the Jenkins job end to exclude. Haven't thought this through but might work.