-
Bug
-
Resolution: Duplicate
-
Major
-
None
This plugin is not immediately releasing a text file which it reads to set the build name.
I have a Jenkins project which writes a string to a version.txt file in the root of the project's workspace during a post build step. The https://plugins.jenkins.io/build-name-setter plugin successfully reads this file and assigns the build name, however, often the version.txt file cannot be removed from the workspace, seemingly because a process is holding onto the file. An error is thrown if I attempt to manually wipe the workspace after the job completes. If I wait X amount of time (maybe for other builds to complete on the Jenkins slave) the file is seemingly released and can be deleted. No other jobs are utilizing the workspace where this file is located.
- duplicates
-
JENKINS-39674 Build name file path file gets locked by Jenkins process
- Resolved