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

Add support for new workspace delete callback

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • clearcase-plugin
    • None
    • Platform: All, OS: All

    Description

      If a slave loses its workspace and the job is using CC, then the view should be removed.

      Attachments

        Issue Links

          Activity

            abayer Andrew Bayer added a comment -

            Adding dependency on https://hudson.dev.java.net/issues/show_bug.cgi?id=3506 for
            "Wipe Out Workspace" use case.

            abayer Andrew Bayer added a comment - Adding dependency on https://hudson.dev.java.net/issues/show_bug.cgi?id=3506 for "Wipe Out Workspace" use case.
            petehayes Peter Hayes added a comment -

            I don't see the option to "Remove clearcase view on rename". Is that in an as
            yet unreleased version of the clearcase plugin?

            I am running the build on a slave agent and when I delete the job, I do not see
            the workspace (or the view) getting removed. Is this supposed to remove it
            immediately or after some interval?

            I will open new enhancement requests for #s 4 & 5.

            petehayes Peter Hayes added a comment - I don't see the option to "Remove clearcase view on rename". Is that in an as yet unreleased version of the clearcase plugin? I am running the build on a slave agent and when I delete the job, I do not see the workspace (or the view) getting removed. Is this supposed to remove it immediately or after some interval? I will open new enhancement requests for #s 4 & 5.
            abayer Andrew Bayer added a comment -

            Looks like the rmview on rename functionality was added in 0.8.2, but yeah, I
            just confirmed in a couple tests (both slave and master) that the view isn't
            actually getting rmviewed when the job is deleted. If you could open a bug for
            that, I'd appreciate it. Thanks!

            abayer Andrew Bayer added a comment - Looks like the rmview on rename functionality was added in 0.8.2, but yeah, I just confirmed in a couple tests (both slave and master) that the view isn't actually getting rmviewed when the job is deleted. If you could open a bug for that, I'd appreciate it. Thanks!
            abayer Andrew Bayer added a comment -

            Ok, this is at least a two part bug - I'm going to open a new bug for the view
            deletion problem and will add you as a cc.

            abayer Andrew Bayer added a comment - Ok, this is at least a two part bug - I'm going to open a new bug for the view deletion problem and will add you as a cc.

            Code changed in hudson
            User: : abayer
            Path:
            trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java
            http://fisheye4.cenqua.com/changelog/hudson/?cs=18111
            Log:
            [FIXED JENKINS-2209] Added overide of SCM.processWorkspaceBeforeDeletion - will be called when workspaceCleanupThread runs, when AbstractProject.performDelete runs, or when AbstractProject.doWipeOutWorkspace runs.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : abayer Path: trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java http://fisheye4.cenqua.com/changelog/hudson/?cs=18111 Log: [FIXED JENKINS-2209] Added overide of SCM.processWorkspaceBeforeDeletion - will be called when workspaceCleanupThread runs, when AbstractProject.performDelete runs, or when AbstractProject.doWipeOutWorkspace runs.

            People

              abayer Andrew Bayer
              redsolo redsolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: