mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-20 07:22:32 +00:00
[FIXED JENKINS-7871] Fixed a race condition in FilePath.copyTo
that results in missing tail bits when the master is heavily loaded.
This commit is contained in:
1 parent
5d413e9e95
commit
957ffd3009
5 files changed
+125
-9
No files matched your search
@@ -1405,6 +1405,10 @@ public final class FilePath implements Serializable {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// make sure the write fully happens before we return.
|
||||
if (channel!=null)
|
||||
channel.syncLocalIO();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user