Hi, I guess it is possible but requires implementation of a BuildWrapper. Then in the teardown part, you implement your custom logic and it can be executed whether the build is successful or failed.
As for customizing the wipe out workspace action, it can be done only through SCM implementations, which is orthogonal to your problem, so probably not the way you should do it. Cheers, Vincent 2014/1/15 Craig Rodrigues <rodr...@freebsd.org> > Hi, > > That is one possibility, but I don't want to modify my build steps > to accomodate this special case. Also, the way that > my build is structured, when one of the steps fail, > the build stops right away and no more steps are executed. > In that failure case, it is possible that certain binaries have > the 'schg' flag set, and it is necessary to wipe out the workspace. > > -- > Craig > > > > On Wed, Jan 15, 2014 at 12:07 AM, Richard Bywater <rich...@byh2o.com>wrote: > >> Could you stick a "run a shell command" build item in at the end of the >> job to to the chflags command which would mean that when wipe out current >> workspace does its thing it would work? >> >> Richard. >> >> >> On Wed, Jan 15, 2014 at 11:31 AM, Craig Rodrigues <rodr...@freebsd.org>wrote: >> >>> Hi, >>> >>> Is it possible to customize the behavior of "wipe out current >>> worksptace"? >>> >>> >>> I have a build under FreeBSD which sets the >>> "noschg" flag on certain binaries, >>> so even as root you cannot do "rm -fr" on the workspace >>> to delete things unless you do "chflags -R schg *" on the workspace. >>> >>> >>> -- >>> Craig >>> >>> -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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. For more options, visit https://groups.google.com/groups/opt_out.