Cannot cleanup workspace when use change-assembly-version-plugin

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • 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.

            Assignee:
            Unassigned
            Reporter:
            steve
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: