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

Allow cleanup based on build status

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: ws-cleanup-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      ws-cleanup has this option: "Skip when build failed". It would be nice if instead you could choose to skip or to run depending on the status. My use case is I have some tools that try to do automatic merging of Mercurial changsets; if that fails, I just want to wipe out the environment and start over. So instead of "skip when build failed" I want to run only on build failed.

        Attachments

          Activity

            People

            • Assignee:
              anusien Kevin Binswanger
              Reporter:
              anusien Kevin Binswanger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: