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

Repo plugin should have an option to wipe out workspace

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • repo-plugin
    • None

      Repo plugin should have an option to wipe out workspace. We need this feature to ensure the build is always start fresh and clean.

      Or put in "git clean -xdf" option on each repositories and clean it specifically.

          [JENKINS-13077] Repo plugin should have an option to wipe out workspace

          Paul Stath added a comment -

          I would suggest that if the "wipe out workspace" option is checked, that the following repo command will make that happen.

          repo forall -c 'git reset && git clean -xdf'

          Paul Stath added a comment - I would suggest that if the "wipe out workspace" option is checked, that the following repo command will make that happen. repo forall -c 'git reset && git clean -xdf'

            aep Arvid E.P
            samxiao Sam Xiao
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: