Branch: refs/heads/1.21.x
Home: https://github.com/jenkinsci/git-client-plugin
Commit: f9321d8bfe775c43b607376d1c5b99ad59fa5d0c
https://github.com/jenkinsci/git-client-plugin/commit/f9321d8bfe775c43b607376d1c5b99ad59fa5d0c
Author: Mark Waite <[email protected]>
Date: 2017-01-01 (Sun, 01 Jan 2017)
Changed paths:
M src/test/java/org/jenkinsci/plugins/gitclient/CliGitCommand.java
Log Message:
-----------
Adapt Cli.setDefaults to git config command failure
The "git config" command returns a failure if the config key does not
exist. The CliGitCommand previously asserted that all command line git
calls must succeed. That is a good general pattern for a test author,
since a failing call to command line git will most often mean that the
test author made a mistake in the command line git call.
Added a private method inside CliGitCommand which can accept a failed
call and still return results from the call.
--
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.