Skip to content
Permalink
Browse files

Fix reopened JENKINS-17345

  • Loading branch information...
gboissinot committed May 25, 2013
1 parent 1a6a69e commit 2058687f79af50987b2cb46b8491aafe79c5567b
@@ -73,7 +73,7 @@ public Boolean invoke(File ws, VirtualChannel channel) throws IOException {
try {

File junitOuputDir = new File(ws, XUnitPublisher.GENERATED_JUNIT_DIR);
if (!junitOuputDir.mkdirs()) {
if (!junitOuputDir.exists() && !junitOuputDir.mkdirs()) {
String msg = "Can't create the path " + junitOuputDir + ". Maybe the directory already exists.";

This comment has been minimized.

Copy link
@kutzi

kutzi May 26, 2013

Member

This message isn't quite correct anymore after this change, is it?

xUnitLog.warningConsoleLogger(msg);
warningSystemLogger(msg);

0 comments on commit 2058687

Please sign in to comment.
You can’t perform that action at this time.