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

Please add ability to use the git 'clean' options AFTER job execution

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None

      I would love to be able to have my jobs automatically return the workspace to a clean state after execution - but otherwise leave the cloned repo present at the end of a job automatically. I could do this myself in a post step, but seems like it would be nice to be able to just define this in the SCM section and have it done automatically.

      Even better would be ability to say "Clean after job, if:

      {stable|unstable|failed}

      " - to allow leaving the workspace around for examination if the job fails, but otherwise clean when done.

            Unassigned Unassigned
            nneul Nathan Neulinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: