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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            arothian Kevin Formsma created issue -
            arothian Kevin Formsma made changes -
            Field Original Value New Value
            Description 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.
            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_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            arothian Kevin Formsma made changes -
            Assignee Timothy Bingaman [ tbingaman ] Kevin Formsma [ arothian ]
            arothian Kevin Formsma made changes -
            Link This issue is duplicated by JENKINS-22772 [ JENKINS-22772 ]
            arothian Kevin Formsma made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 154548 ] JNJira + In-Review [ 207578 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: