-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: change-assembly-version-plugin
-
None
-
Environment:Windows 10 for jenkins controller and agent
Jenkins 2.263.3
My pipeline has this operation:
Ā changeAsmVer versionPattern: '${BUILD_VERSION}'
And ends with:Ā
Ā cleanWs()
The clean operation always gives:Ā ERROR: Cannot delete workspace: Unable to delete 'c:\jenkins\workspace\WinTech-adhoc'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
If I remove changeAsmVer then no cleanup error. Clearly, theĀ changeAsmVer is locking a file or something that prevents the cleanup from working.