Branch: refs/heads/master
Home: https://github.com/jenkinsci/git-plugin
Commit: 3592f51ccd452c41a44aae8728a7a8c1f0c2fdad
https://github.com/jenkinsci/git-plugin/commit/3592f51ccd452c41a44aae8728a7a8c1f0c2fdad
Author: Gergo Ertli <[email protected]>
Date: 2015-06-15 (Mon, 15 Jun 2015)
Changed paths:
M src/main/java/hudson/plugins/git/GitSCM.java
Log Message:
-----------
Fixed NPE during getting branch name
An NPE is thrown if the previous build does not contain a branch name.
java.lang.NullPointerException
at hudson.plugins.git.GitSCM.getBranchName(GitSCM.java:1174)
at hudson.plugins.git.GitSCM.buildEnvVars(GitSCM.java:1138)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:922)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1009)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
at
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
Commit: 04e70589bd3a0b70ebae1ce49f2cb2f384e5391e
https://github.com/jenkinsci/git-plugin/commit/04e70589bd3a0b70ebae1ce49f2cb2f384e5391e
Author: Mark Waite <[email protected]>
Date: 2015-06-15 (Mon, 15 Jun 2015)
Changed paths:
M src/main/java/hudson/plugins/git/GitSCM.java
M src/test/java/hudson/plugins/git/GitSCMTest.java
Log Message:
-----------
Test to confirm null branch name null pointer exception is fixed
Undo the permission change on GitSCM.java and apply the same null pointer
check to the other location in GitSCM which uses the same pattern.
Compare:
https://github.com/jenkinsci/git-plugin/compare/c2fe105a38df...04e70589bd3a
--
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.