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

removing a job (including multibranch/org folder branches/repos) does not remove the workspace

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      2.0.21

      Description

      Removal of a job leaves the workspace intact.

        Attachments

          Issue Links

            Activity

            Hide
            jsoref Josh Soref added a comment -

            The nested agents do get their own git clones. The ones without a specified agent run on the same node as the main pipeline. I only need to use stash to share build products (omitted because it isn't relevant to the failure).

            Show
            jsoref Josh Soref added a comment - The nested agents do get their own git clones. The ones without a specified agent run on the same node as the main pipeline. I only need to use stash to share build products (omitted because it isn't relevant to the failure).
            Hide
            davida2009 David Aldrich added a comment -

            I see this message in our console log:

            Feb 18, 2019 8:29:06 AM WARNING jenkins.branch.WorkspaceLocatorImpl getWorkspaceRoot
            JENKINS-2111 path sanitization ineffective when using legacy Workspace Root Directory ‘${ITEM_ROOTDIR}/workspace’; switch to ‘${JENKINS_HOME}/workspace/${ITEM_FULL_NAME}’ as in JENKINS-8446 / JENKINS-21942

            It seems harmless, but how can I fix it?

            Show
            davida2009 David Aldrich added a comment - I see this message in our console log: Feb 18, 2019 8:29:06 AM WARNING jenkins.branch.WorkspaceLocatorImpl getWorkspaceRoot JENKINS-2111 path sanitization ineffective when using legacy Workspace Root Directory ‘${ITEM_ROOTDIR}/workspace’; switch to ‘${JENKINS_HOME}/workspace/${ITEM_FULL_NAME}’ as in JENKINS-8446 / JENKINS-21942 It seems harmless, but how can I fix it?
            Hide
            jglick Jesse Glick added a comment -

            David Aldrich it is not harmless. See JENKINS-21942 esp. my last comment of 2018-04-24. Or just stop doing builds on the master.

            Show
            jglick Jesse Glick added a comment - David Aldrich it is not harmless. See JENKINS-21942 esp. my last comment of 2018-04-24. Or just stop doing builds on the master.
            Hide
            davida2009 David Aldrich added a comment -

            Jesse Glick Thanks for your reply. I'm afraid I'm stuck on this one. I don't understand what the console message means nor where to look in order to fix it. Please will you explain what I need to do?

            Show
            davida2009 David Aldrich added a comment - Jesse Glick Thanks for your reply. I'm afraid I'm stuck on this one. I don't understand what the console message means nor where to look in order to fix it. Please will you explain what I need to do?
            Hide
            jglick Jesse Glick added a comment -

            Please ask Baptiste Mathus in JENKINS-21942, who was the last to work on that area.

            Show
            jglick Jesse Glick added a comment - Please ask Baptiste Mathus in JENKINS-21942 , who was the last to work on that area.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                bll6969 bll
              • Votes:
                90 Vote for this issue
                Watchers:
                95 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: