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

    • Similar Issues:

      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.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kevin Formsma
            Path:
            src/main/java/hudson/ivy/IvyBuild.java
            src/main/java/hudson/ivy/IvyModuleSetBuild.java
            http://jenkins-ci.org/commit/ivy-plugin/cff77d00d897498147229ff762f0d1a1b55c072a
            Log:
            Merge pull request #14 from arothian/master

            [FIXED JENKINS-22447] Fix workspace lock release for ivy build

            Compare: https://github.com/jenkinsci/ivy-plugin/compare/2a1932612a99...cff77d00d897

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kevin Formsma Path: src/main/java/hudson/ivy/IvyBuild.java src/main/java/hudson/ivy/IvyModuleSetBuild.java http://jenkins-ci.org/commit/ivy-plugin/cff77d00d897498147229ff762f0d1a1b55c072a Log: Merge pull request #14 from arothian/master [FIXED JENKINS-22447] Fix workspace lock release for ivy build Compare: https://github.com/jenkinsci/ivy-plugin/compare/2a1932612a99...cff77d00d897
            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

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

                Dates

                Created:
                Updated:
                Resolved: