On Mon, 2018-07-23 at 14:21 +0100, sebb wrote:
> On 23 July 2018 at 08:45, Gavin McDonald <ga...@16degrees.com.au>
> wrote:
> > HI All,
> > 
> > I'd like to ask a basic question.
> > 
> > Is there any reason at all to keep the 'workspace' dirs of builds
> > on the
> > jenkins slaves ?
> 
> Yes, if a test fails then the workspace may contain files and logs
> that are necessary to debug the failure.
Would setting explicit archival settings not work around that? You can
configure jenkins to archive e.g. **/target/surefire-reports/*.xml,
which will keep these files on a per-build basis. Then the workspace
cleanup, which probably has many more files, will not affect you.

Robert

Reply via email to