Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.8.6
-
None
-
None
Description
when use jenkins and enable multi thread to build on the same machine
we get this error below
[WARNING] Failed to write tracking file D:\opt\repository11\org\apache\ant\ant-launcher\1.10.12\ant-launcher-1.10.12.jar.lastUpdated
java.io.FileNotFoundException: D:\opt\repository11\org\apache\ant\ant-launcher\1.10.12\ant-launcher-1.10.12.jar.lastUpdated (File Locked by another process。)
at java.io.RandomAccessFile.open0 (Native Method)
at java.io.RandomAccessFile.open (RandomAccessFile.java:316)
at java.io.RandomAccessFile.<init> (RandomAccessFile.java:243)
at org.eclipse.aether.internal.impl.TrackingFileManager.update (TrackingFileManager.java:86)
[ERROR] Caused by: D:\opt\repository11\org\apache\httpcomponents\httpcore\4.3.3\httpcore-4.3.3.jar.part.lock (Access denied。)
with maven 3.8.6