'Why does java delete my files that were created by the Jenkins P4 plugin? [duplicate]

Trying to raise a discussion on this issue: https://stackoverflow.com/questions/69072026/how-to-stop-spontaneous-deletion-of-files-and-workspaces-created-through-jenkins?noredirect=1#comment122164248_69072026 The last time the workspaces were deleted, they could not see anything in the P4 logs. But I additionally enabled auditing of files on Windows for these workspaces. Yesterday, the workspaces on the Mac OS were deleted again, and today the workspaces on the Windows instance have already been deleted. I found out from the file audit logs that Java was deleting them (1.8.0_281). And java is used by Jenkins. I got a similar result with Mac OS. Why does java delete my files that were created by the Jenkins P4 plugin?

I moved jenkins from mac os to linux. And I have repeated the situation with the removal. I launched an audit of files and folders on Windows, and the audit showed that it was Java. How can I now understand why java deletes this directory and all its files?

enter image description here

When they were deleted on the poppy, it was also noted there that it was Java

enter image description here

How to understand with simple actions why Java does this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source