jenkinsci/git-plugin — pull request #240 by shyela (2014-07-09 01:41:36+00:00)
Title: [FIXED JENKINS-23608] Git plugin doesn't build jobs that use the inverse...

... build strategy for new branches

Summary of changes:
- Added the ability for BuildChoosers to detect whether a supplied branch would be chosen by them (isMatchingBranch)
- Changed GitStatus$JenkinsAbstractProjectListener.onNotifyCommit to use the BuildChooser supplied by GitSCM when looking for a match.

Also, added tests for the BuildChoosers (DefaultBuildChooser and InverseBuildChooser). I looked into adding a test for GitStatus, but it seemed to go against the grain to test this area in GitStatusTest. Please advise.

Changes tested live on 1.532.2.