At 08:55 05.04.2022, you wrote:
>Am Dienstag, dem 05.04.2022 um 08:35 +0200 schrieb Fabian Cenedese:
>>My problem is now that sometimes the workspace on the node
>>is completely wiped, sometimes even while the task is running
>>which of course then makes it fail. But I couldn't find a reason
>>why this would happen.
>There are various places in a job's configuration where workspace cleanup can be enabled, partly depending on installed plugins, for example:
> * The SCM section
> * Under "Build environment": Delete workspace before build starts
> * Under "Post-build Actions": Delete workspace when build is done
> * Might also be something in your build steps
> * Workspaces can also be wiped manually from the job's page
> * We have special cleanup jobs in place that periodically remove all workspaces
Thanks for the ideas. However I think none of it applies here.
- I've removed all references to git and svn as I also assumed this to be the cause.
- It happens even when no job is running/has been running so the config
shouldn't matter here. But I have nothing of that sort anyway.
- I don't have anything deleting in my script
- As it also happened in the middle of the night where nobody is working
I rule manual out as well (and Jenkins is not accessible from outside)
- Are you talking about your own self-made cleanup jobs or is that
something builtin into Jenkins?
I checked Jenkins logfiles, system logs, virus scanners, job history...
but I still can't find a reason. It's also arbitrary, I couldn't see a pattern yet.