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:09 AM DHAVAL JAISWAL <dhava...@gmail.com> wrote:

> 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 can I fix this issuer permanently & save my workspace and
> build.
>
> I see one option in Jenkins is DISCARD OLD BUILD. However, I assume that
> check is to retain the build (to see the history) on Master Jenkins.
>
> If needed I can help with some more information.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAH5ShBiSTXMYHuhW%2Bthxj3yMAvAOQWqcxgAUJwSM7ZM4kvGBYA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAH5ShBiSTXMYHuhW%2Bthxj3yMAvAOQWqcxgAUJwSM7ZM4kvGBYA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAJgiyW9Z95e8KO%3D-gKr9pXXB82rG6JmZwMEUmbgjQw-zyq_gSA%40mail.gmail.com.

Reply via email to