Skip to content

[JENKINS-65829] Workspace Cleanup does not delete @libs directories created by libraries #12066

@jenkins-infra-bot

Description

@jenkins-infra-bot

In Jenkins Pipelines one can use shared libraries. With them a additional directory is created:

Usual-Workspace: /var/lib/jenkins/workspace/job-id/
Additional SharedLibrary-Folder: /var/lib/jenkins/workspace/job-id@​tmp

Seems as if there the shared library sources are stored in case one want s to rerun the build.

In order to completely wipe out old build data, a option to delete this @​tmp folder could be introduced.


Originally reported by xbw1220, imported from: Workspace Cleanup does not delete @libs directories created by libraries
  • assignee: allan_burdajewicz
  • status: Closed
  • priority: Minor
  • component(s): clearcase-plugin, core, pipeline-groovy-lib-plugin
  • resolution: Fixed
  • resolved: 2024-04-16T14:09:33+00:00
  • votes: 7
  • watchers: 13
  • imported: 2025-11-24
Raw content of original issue

In Jenkins Pipelines one can use shared libraries. With them a additional directory is created:

Usual-Workspace: /var/lib/jenkins/workspace/job-id/ Additional SharedLibrary-Folder: /var/lib/jenkins/workspace/job-id@tmp

Seems as if there the shared library sources are stored in case one want s to rerun the build.

In order to completely wipe out old build data, a option to delete this @tmp folder could be introduced.

environment
2.249.2 lts <br/>
Workspace  Cleanup Plugin-0.38
2 attachments

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions