Branch: refs/heads/master
Home: https://github.com/jenkinsci/git-plugin
Commit: 8888394112f0d10307c721421ccc760bd6969321
https://github.com/jenkinsci/git-plugin/commit/8888394112f0d10307c721421ccc760bd6969321
Author: Mark Waite <[email protected]>
Date: 2021-01-08 (Fri, 08 Jan 2021)
Changed paths:
M
src/test/java/hudson/plugins/git/extensions/impl/CloneOptionHonorRefSpecTest.java
Log Message:
-----------
Skip honor refspec test if env is an empty value
Fixes an array out of bounds when the environment variable being tested
is an empty string. The test is checking that the variable is correctly
expanded in the refspec but is not designed to test the case where the
string is empty. It is possible to create a refspec that would work
with the empty string value of the environment variable, but it is more
complicated and does not add value to the scenarios evaluated by the test.
The plugin bom tests of the most recent git plugin release are failing
because the plugin bom test environment has the value of the environment
variable `USER` as the empty string.
Commit: 8d2c7f11f8816793addaf06e7131a42975c3c9f0
https://github.com/jenkinsci/git-plugin/commit/8d2c7f11f8816793addaf06e7131a42975c3c9f0
Author: Mark Waite <[email protected]>
Date: 2021-01-08 (Fri, 08 Jan 2021)
Changed paths:
M
src/test/java/hudson/plugins/git/extensions/impl/CloneOptionHonorRefSpecTest.java
Log Message:
-----------
Merge pull request #1023 from MarkEWaite/test-empty-value-expansion
Skip honor refspec test if env is an empty value
Compare:
https://github.com/jenkinsci/git-plugin/compare/c451b476a96d...8d2c7f11f881
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/git-plugin/push/refs/heads/master/c451b4-8d2c7f%40github.com.