Add option to avoid workspace cleanup if job failed

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • Component/s: ws-cleanup-plugin
    • None

      For problem analysis, it would be nice if there was an option to only cleanup the workspace in the post-build step, if the job has completed successfully.

      A build job may fail due to compile errors or a problem with the job configuration. In both cases it can be helpful to retain the workspace for further analysis.

      We are using workspace cleanup as post build step with all jobs, in order to reduce necessary disk space. Otherwise, cleanup as pre-build step would also be sufficient.

            Assignee:
            vjuranek
            Reporter:
            Bjoern Sonntag
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: