Issue Type: Improvement Improvement
Assignee: Nicolas De Loof
Components: git
Created: 31/May/13 4:09 PM
Description:

I have two build-projects which use the code from the same git-repository.

Project 1 shall be triggered immediately when new changes are pushed to the git-repository.
This works as expected by setting up a post-receive hook and enabling SCM polling (without setting any time).

Project 2 shall be triggered nightly but only if changes where pushed to the git-repository since the last build.
This does work in general as expected: After configuring SCM polling with a specific time, the build gets triggered at night if changes were pushed to the git-repository and will not be triggered if no new changes were pushed since the last successful run. (So far, so good.)

However, because of the post-receive hook I set up for project 1 this project 2 will also get triggered every time new commits were pushed to the repository. This, of course, is not what I wanted.

In project 2's configuration of SCM-polling I also enabled the checkbox "Ignore post-commit hooks" which obviously should prevent this behavior. However, as the comment states, the SCM-plugin must also support this setting.

Could it be that the git-plugin does not check this "Ignore post-commit hooks" setting and therefore ignores it?
Would it be possible to implement the correct behavior and do not trigger a build if the checkbox is checked?

Environment: Jenkins 1.509.1 LTS,
Ubuntu 12.04 LTS (x64)
Project: Jenkins
Priority: Major Major
Reporter: Deniz Bahadir
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to