Branch: refs/heads/master
Home: https://github.com/jenkinsci/git-plugin
Commit: 8e827f29adac0c3345f3184458e1d8502a88622d
https://github.com/jenkinsci/git-plugin/commit/8e827f29adac0c3345f3184458e1d8502a88622d
Author: Sam Umbach <[email protected]>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M src/main/java/hudson/plugins/git/util/InverseBuildChooser.java
Log Message:
-----------
Use BuildChooserContext environment in InverseBuildChooser
Fixes an issue introduced by 4fc7f4447c990082e8322c42ebafd1f33a2e60aa.
When polling git for changes, context.getBuild() returns null, manifesting in
an NPE from InverseBuildChooser.getCandidateRevisions() when polling a git
repo and using an Inverse branch choosing strategy.
This was fixed for DefaultBuildChooser in
68331baf78649becac426b9362534faff08cf618--BuildChooserContext now includes the
appropriate environment, so there is no longer any need to call
context.getBuild().getEnvironment() as demonstrated in
[DefaultBuildChooser.java](https://github.com/jenkinsci/git-plugin/commit/68331baf78649becac426b9362534faff08cf618#diff-59b21aee0282fdafd62036844373a19cL190).
Commit: 8696bc00a1389cf5ccf6faf59d53a664e09832a7
https://github.com/jenkinsci/git-plugin/commit/8696bc00a1389cf5ccf6faf59d53a664e09832a7
Author: Mark Waite <[email protected]>
Date: 2014-04-05 (Sat, 05 Apr 2014)
Changed paths:
M src/main/java/hudson/plugins/git/util/InverseBuildChooser.java
Log Message:
-----------
Merge pull request #208 from sumbach/patch-1
Use BuildChooserContext environment in InverseBuildChooser
[Fixed JENKINS-22053]
Compare:
https://github.com/jenkinsci/git-plugin/compare/647249481eaf...8696bc00a138
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" 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.