Skip to content

Commit

Permalink
Comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Aug 26, 2013
1 parent 872a6d7 commit 7e8a0fa
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -539,6 +539,8 @@ static FilePath copyJar(PrintStream log, FilePath dst, Class<?> representative,
return copiedJar;
}

// Theoretically could be a race condition on a multi-executor Windows slave; symptom would be an IOException during the build.
// Could perhaps be solved by synchronizing on dst.getChannel() or similar.
new FilePath(jar).copyTo(copiedJar);
log.println("Copied " + seedName + ".jar");
return copiedJar;
Expand Down

0 comments on commit 7e8a0fa

Please sign in to comment.