Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65334

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 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.

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

              Created:
              Updated: