Branch: refs/heads/v4.11.x Home: https://github.com/jenkinsci/git-plugin Commit: 7a6ebf7716a82dbe45399befaa9a36d656415fd5 https://github.com/jenkinsci/git-plugin/commit/7a6ebf7716a82dbe45399befaa9a36d656415fd5 Author: Mark Waite <mark.earl.wa...@gmail.com> Date: 2022-08-23 (Tue, 23 Aug 2022)
Changed paths: M src/test/java/jenkins/plugins/git/GitUsernamePasswordBindingTest.java Log Message: ----------- Avoid command processor expansion of password values Windows command processor treats '&' as a special character in command lines. That makes the sample password '&Ampersand&' expand incorrectly in the test code that was using `echo` on Windows. Instead of using `echo` to check that the password is being masked, use the Windows `type` command to display the contents of the auth.txt file contents. This simplifies the test case while still checking that the masking is performed as expected. Commit: e2878c97aa6a0ca5c1499a1c6291b021b8e7034b https://github.com/jenkinsci/git-plugin/commit/e2878c97aa6a0ca5c1499a1c6291b021b8e7034b Author: Mark Waite <mark.earl.wa...@gmail.com> Date: 2022-08-23 (Tue, 23 Aug 2022) Changed paths: M src/test/java/jenkins/plugins/git/GitUsernamePasswordBindingTest.java Log Message: ----------- Assert GIT_USERNAME is only masked when secret Previously only asserted for the case that GIT_USERNAME is masked when it is secret. Safe to also assert that it is not masked when it is not secret. Compare: https://github.com/jenkinsci/git-plugin/compare/225cf672fe71...e2878c97aa6a -- 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 jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/git-plugin/push/refs/heads/v4.11.x/225cf6-e2878c%40github.com.