Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix reopened JENKINS-17345
  • Loading branch information
gboissinot committed May 25, 2013
1 parent 1a6a69e commit 2058687
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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);
Expand Down

0 comments on commit 2058687

Please sign in to comment.