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

Ivy Job builds don't release workspace lock due to override of cleanup

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • ivy-plugin

      The fix for https://issues.jenkins-ci.org/browse/JENKINS-10615 caused the Ivy plugin to not release workspace locks. This causes an additional workspace to be created for each Ivy job execution until Jenkins is restarted.

      This is because IvyBuild.java and IvyModuleSetBuild.java has a AbstractRunner implementation that overrides cleanUp which causes the workspace lease to not be released.

          [JENKINS-22447] Ivy Job builds don't release workspace lock due to override of cleanup

          Kevin Formsma created issue -
          Kevin Formsma made changes -
          Description Original: The fix for https://issues.jenkins-ci.org/browse/JENKINS-10615 caused the Ivy plugin to not release workspace locks. This causes an additional workspace to be created for each Ivy job execution until Jenkins is restarted.

          This is because IvyBuild.java has a AbstractRunner implementation that overrides cleanUp which causes the workspace lease to not be released.
          New: The fix for https://issues.jenkins-ci.org/browse/JENKINS-10615 caused the Ivy plugin to not release workspace locks. This causes an additional workspace to be created for each Ivy job execution until Jenkins is restarted.

          This is because IvyBuild.java and IvyModuleSetBuild.java has a AbstractRunner implementation that overrides cleanUp which causes the workspace lease to not be released.
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Kevin Formsma made changes -
          Assignee Original: Timothy Bingaman [ tbingaman ] New: Kevin Formsma [ arothian ]
          Kevin Formsma made changes -
          Link New: This issue is duplicated by JENKINS-22772 [ JENKINS-22772 ]
          Kevin Formsma made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 154548 ] New: JNJira + In-Review [ 207578 ]

            arothian Kevin Formsma
            arothian Kevin Formsma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: