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

Allow cleanup based on build status

    XMLWordPrintable

    Details

    • 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

          Hide
          anusien Kevin Binswanger added a comment -
          Show
          anusien Kevin Binswanger added a comment - Resolved in pull request: https://github.com/jenkinsci/ws-cleanup-plugin/pull/7
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kevin
          Path:
          src/main/java/hudson/plugins/ws_cleanup/WsCleanup.java
          src/main/java/hudson/plugins/ws_cleanup/WsCleanupMatrixAggregator.java
          src/main/resources/hudson/plugins/ws_cleanup/WsCleanup/config.jelly
          http://jenkins-ci.org/commit/ws-cleanup-plugin/799991ee66716f43d046881de857546654a7beea
          Log:
          JENKINS-17761 Make ws-cleanup configurable to run or not run on any given build status instead of just success.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kevin Path: src/main/java/hudson/plugins/ws_cleanup/WsCleanup.java src/main/java/hudson/plugins/ws_cleanup/WsCleanupMatrixAggregator.java src/main/resources/hudson/plugins/ws_cleanup/WsCleanup/config.jelly http://jenkins-ci.org/commit/ws-cleanup-plugin/799991ee66716f43d046881de857546654a7beea Log: JENKINS-17761 Make ws-cleanup configurable to run or not run on any given build status instead of just success.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Vojtěch Juránek
          Path:
          src/main/java/hudson/plugins/ws_cleanup/WsCleanup.java
          src/main/java/hudson/plugins/ws_cleanup/WsCleanupMatrixAggregator.java
          src/main/resources/hudson/plugins/ws_cleanup/WsCleanup/config.jelly
          http://jenkins-ci.org/commit/ws-cleanup-plugin/68011fbe0d56ff68b0bb9dc92a4e5b9235302f1c
          Log:
          Merge pull request #7 from Anusien/master

          Fix JENKINS-17761: configurable based on build status

          Compare: https://github.com/jenkinsci/ws-cleanup-plugin/compare/ab50a1c8966d...68011fbe0d56

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtěch Juránek Path: src/main/java/hudson/plugins/ws_cleanup/WsCleanup.java src/main/java/hudson/plugins/ws_cleanup/WsCleanupMatrixAggregator.java src/main/resources/hudson/plugins/ws_cleanup/WsCleanup/config.jelly http://jenkins-ci.org/commit/ws-cleanup-plugin/68011fbe0d56ff68b0bb9dc92a4e5b9235302f1c Log: Merge pull request #7 from Anusien/master Fix JENKINS-17761 : configurable based on build status Compare: https://github.com/jenkinsci/ws-cleanup-plugin/compare/ab50a1c8966d...68011fbe0d56

            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: