It removes the workspace. That is, it removes the git repository (contained in the .git directory within the workspace) and the contents of the parent of the .git directory (which is what I would call the workspace). It removes enough that it requires a clone and checkout as part of the next run of that job.
Mark Waite On Wed, Jul 20, 2016 at 9:15 AM Ashish Yadav <ashish.ya...@firemon.com> wrote: > Does the git "Wipe out repository & force clone” behavior only remove the > repository or the entire workspace? > > From: Mark Waite <mark.earl.wa...@gmail.com> > Reply-To: "jenkinsci-users@googlegroups.com" < > jenkinsci-users@googlegroups.com> > Date: Wednesday, July 20, 2016 at 8:44 AM > To: Jenkins Users <jenkinsci-users@googlegroups.com> > Subject: Re: workspace not getting cleared before or after build. > > The git plugin has an "Additional Behaviour" called "Wipe out repository & > force clone". That is available if you're using git. > > The Workspace Cleanup Plugin offers before build and after build deletion > of the workspace. Maybe that plugin is not installed? > > Mark Waite > > On Wed, Jul 20, 2016 at 7:35 AM Ashish Yadav <ashish.ya...@firemon.com> > wrote: > >> I am currently running Jenkins LTS v1.642.3 on CentOS 6. In my job >> configs, I am NOT seeing any section or task to clean the workspace before >> build or even as a Post-Build activity to clean workspace after build. Did >> this feature get removed somehow? >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/D3B4E819.21FC2%25ashish.yadav%40firemon.com >> <https://groups.google.com/d/msgid/jenkinsci-users/D3B4E819.21FC2%25ashish.yadav%40firemon.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHFSWxuO8F8cxTLQ652mx1TrNcqcFQTmxqGS4iJxMCHBg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHFSWxuO8F8cxTLQ652mx1TrNcqcFQTmxqGS4iJxMCHBg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/D3B4FF9D.21FDA%25ashish.yadav%40firemon.com > <https://groups.google.com/d/msgid/jenkinsci-users/D3B4FF9D.21FDA%25ashish.yadav%40firemon.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFvGG%2BTjDtm6PWO22Wf5JM7h6EK1WXU%3D0pYUt9fCW-2AQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.