Skip to content

Commit d67c2d1

Browse files
committed
SCMSourceRetrieverTest: clarify in surefire log that checkoutDirectoriesAreNotReusedByDifferentScms() is skipped on Windows
1 parent be0c051 commit d67c2d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/java/org/jenkinsci/plugins/workflow/libs/SCMSourceRetrieverTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,9 @@ public static class BasicSCMSource extends SCMSource {
14961496

14971497
@Issue("SECURITY-2463")
14981498
@Test public void checkoutDirectoriesAreNotReusedByDifferentScms() throws Exception {
1499-
assumeFalse(Functions.isWindows()); // Checkout hook is not cross-platform.
1499+
assumeFalse("checkoutDirectoriesAreNotReusedByDifferentScms() is " +
1500+
"skipped on Windows: Checkout hook is not cross-platform",
1501+
Functions.isWindows());
15001502
sampleRepo.init();
15011503
sampleRepo.write("vars/foo.groovy", "def call() { echo('using global lib') }");
15021504
sampleRepo.git("add", "vars");

0 commit comments

Comments
 (0)