Yes, this one https://github.com/ashwanthkumar/gocd-build-github-pull-requests (It was not obvious to me, because I used the plugin just for the trigger)
I was wondering if it was possible to configure this. Just using a workaround at the moment. I figured it out, thanks a lot! Alena вторник, 28 мая 2024 г. в 13:18:19 UTC+3, Chad Wilson: > Hi Alena > > The default behaviour on GoCD git materials has been git clean -dffx > since GoCD 20.6.0 as far as I can tell. You had to specifically opt in for > the "old" behaviour of git clean -dff However based on the ticket you > raised at https://github.com/gocd/gocd/issues/12806 my *guess* is that > you are using a custom plugin for git materials which has its own logic and > does not rely on GoCD's built in git material. > > Which plugin is this? Some commonly used ones that still seem to use "git > clean -dff" internally are > https://github.com/ashwanthkumar/gocd-build-github-pull-requests and > https://github.com/TWChennai/gocd-git-path-material-plugin These plugins > initially aimed to "copy" GoCD's default behaviour but have diverged over > time. > > Both would need the plugins to be updated/changed. > > A workaround for now may be to clean the entire working directory at GoCD > level in the stage configuration (essentially an "rm -rf working-dir") > rather than relying on something at material level, but this would require > a fresh clone for every build, which some people would rather not do (for > speed reasons) when using static agents. > > -Chad > > On Tue, May 28, 2024 at 6:06 PM Alena Karpova <[email protected]> > wrote: > >> Hi! >> My working directory uses git clean -dff for cleaning now, but I need git >> clean -dffx to be used instead. >> I see that there is a flag that configures this, but I can't find how I >> can set it. >> >> Thank you in advance, >> Alena >> >> -- >> You received this message because you are subscribed to the Google Groups >> "go-cd" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/go-cd/4f776e6e-46e9-4b63-87ee-47ae8ce2415cn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/go-cd/4f776e6e-46e9-4b63-87ee-47ae8ce2415cn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/66fb36c8-0f2a-4ee7-bf01-327e6d374b1cn%40googlegroups.com.
