Branch: refs/heads/master
Home: https://github.com/jenkinsci/git-client-plugin
Commit: ebaa8503ed1c3835598ed60c5179103156a39b94
https://github.com/jenkinsci/git-client-plugin/commit/ebaa8503ed1c3835598ed60c5179103156a39b94
Author: Mark Waite <[email protected]>
Date: 2016-07-11 (Mon, 11 Jul 2016)
Changed paths:
M src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
M src/test/java/org/jenkinsci/plugins/gitclient/GitAPITestCase.java
Log Message:
-----------
[JENKINS-34309] Only parse reasonable branch line output
Avoid string index out of bounds exception on unexpected output from
"git branch -v --no-abbrev" (as reported in JENKINS-34309).
The JENKINS-34309 issue may be related to gitlab bug 14453
https://gitlab.com/gitlab-org/gitlab-ce/issues/14453
Added a test to check that empty repo reports no branches. Empty
repo does not show the problem which was detected in JENKINS-34309.
My attempts to duplicate JENKINS-34309 in an automated test have all
failed. Those attempts are included in this commit (though unsuccessful
at duplicating the problem).
Commit: 8c44d392a321cce24981498ee4b4bf4d4100afb1
https://github.com/jenkinsci/git-client-plugin/commit/8c44d392a321cce24981498ee4b4bf4d4100afb1
Author: Mark Waite <[email protected]>
Date: 2016-07-12 (Tue, 12 Jul 2016)
Changed paths:
M src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
M src/test/java/org/jenkinsci/plugins/gitclient/GitAPITestCase.java
Log Message:
-----------
Merge pull request #213 from
MarkEWaite/master-PRxxx-parseBranches-index-out-of-bounds
[JENKINS-34309] Only parse reasonable branch line output
Compare:
https://github.com/jenkinsci/git-client-plugin/compare/08a482b04a9e...8c44d392a321
--
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.