Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-plugin
Created: 21/Jan/15 10:27 PM
Description:

Not sure if this is a bug or expected behaviour, but its a bit confusing.

If I call the notifyCommit URL without a sha1, then the build only triggers if 'scm polling' is enabled. However, if a sha1 is provided then the build triggers regardless.

I realise that when the sha1 is provided, strictly speaking this isn't 'polling' happening. However this means that the only way to disable triggering (eg for a nightly sonar build) is to enable the scm trigger, set no time and then select the "Ignore post-commit hooks" option. ie:

  • polling disabled - triggers if and only if a sha1 was provided
  • polling enabled - triggers
  • polling enabled but skipped - doesn't trigger

this is a but unintuitive and confusing. The git plugin should require that polling is enabled (even with an empty time), just like it does if a sha1 isn't provided.

Project: Jenkins
Priority: Minor Minor
Reporter: Bradley Baetz
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/d/optout.

Reply via email to