teps/workflow-basic-steps/#stash-stash-some-files-to-be-used-later-in-the-build>
>
> artifacts generated in the workspaces to the controller. Be aware if you
> are using parallel builds automatic workspace deletion can cause job
> failures when the workspace is deleted automatical
Agree. You can stash
<https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/#stash-stash-some-files-to-be-used-later-in-the-build>
artifacts generated in the workspaces to the controller. Be aware if you
are using parallel builds automatic workspace deletion can cause job
failure
Am Donnerstag, den 15.04.2021, 23:39 +0530 schrieb DHAVAL JAISWAL:
> Guide me on how can I fix this issuer permanently & save my workspace
> and build.
Don't do that. Use an "Archive Artifacts" post build step in your job
to archive exactly those build artifacts you really need.
HTH...
Best idea is to avoid relying on the workspace being preserved at all . So
if you are deplyoing something, then do it by
installing/copying/whatever the final artifacts in a place outside the
workspace.
m.s.sent...@gmail.com schrieb am Freitag, 16. April 2021 um 03:18:23 UTC+2:
> This is a
This is a system property that should be set when starting up jenkins. You
would want to set *hudson.model.WorkspaceCleanupThread.disabled* to true
to disable deletion of workspaces.
Usage is documented here:
https://www.jenkins.io/doc/book/managing/system-properties/
On Thu, Apr 15, 2021 at 11:
Workspace on Slave node is deleted if the Job is not running/active from
Master Jenkins for some days.
How shall I fix this issue?
While referring to some forum advising to fix
*hudson.model.WorkspaceCleanupThread.disabled* [ false ]. However, I am
unable to find this parameter.
Guide me on how
users@googlegroups.com
> [mailto:jenkinsci-users@googlegroups.com] On Behalf Of phil swenson
> Sent: Friday, August 03, 2012 12:23 PM
> To: jenkinsci-users
> Subject: workspace deletion
>
> Is there an easy way to delete all the workspaces on all nodes?
>
> I looked at the CLI - doesn't appear to help.
>
> thanks
>
Also check $JENKINS_HOME/workspace/${JOB} .
On 03.08.2012, at 19:39, David Weintraub wrote:
> In Unix, you could do something like this:
>
> $ rm -rf $JENKIN_HOME/jobs/*/workspace/*
>
> Another possibility is:
>
> $ cd $JENKINS_HOME/jobs
> $ find . -regex "\./[^/]+/workspace/[^/]+" -exec rm
Install the "Workspace Cleanup Plugin"
-Original Message-
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of phil swenson
Sent: Friday, August 03, 2012 12:23 PM
To: jenkinsci-users
Subject: workspace deletion
Is there an easy way to
right but I have to do that on every node. I have 15 of them and have
needed to do this several times….
On Fri, Aug 3, 2012 at 10:39 AM, David Weintraub wrote:
> In Unix, you could do something like this:
>
> $ rm -rf $JENKIN_HOME/jobs/*/workspace/*
>
> Another possibility is:
>
> $ cd $JENKINS
In Unix, you could do something like this:
$ rm -rf $JENKIN_HOME/jobs/*/workspace/*
Another possibility is:
$ cd $JENKINS_HOME/jobs
$ find . -regex "\./[^/]+/workspace/[^/]+" -exec rm {} \;
On Fri, Aug 3, 2012 at 12:23 PM, phil swenson wrote:
> Is there an easy way to delete all the workspace
Is there an easy way to delete all the workspaces on all nodes?
I looked at the CLI - doesn't appear to help.
thanks
12 matches
Mail list logo