Skip to content

chore(jenkins): clean up custom workspace directories#2810

Open
lprimak wants to merge 1 commit into
apache:mainfrom
lprimak:clean-jenkins-custom-workspace
Open

chore(jenkins): clean up custom workspace directories#2810
lprimak wants to merge 1 commit into
apache:mainfrom
lprimak:clean-jenkins-custom-workspace

Conversation

@lprimak

@lprimak lprimak commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

fixes #2805

@lprimak

lprimak commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

@apupier how about this?

@lprimak lprimak marked this pull request as draft June 23, 2026 18:14
@lprimak lprimak force-pushed the clean-jenkins-custom-workspace branch from 9740810 to 157ada3 Compare June 23, 2026 19:56
@lprimak lprimak marked this pull request as ready for review June 23, 2026 19:58
@lprimak lprimak force-pushed the clean-jenkins-custom-workspace branch from 157ada3 to d266b41 Compare June 23, 2026 20:01

@apupier apupier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will save more space effectively.

it remains the case of failing/unstable builds too which is not covered. And i really understand that it can be interesting to keep the workspace in case of failure for some time.

On Apache Camel project, i think by using cleanWs(), the workspace are cleaned (most of the time, if there is not a file with a wrong user created in the workspace) only when the build is removed which i would expect to be triggered when the job is removed

@lprimak lprimak requested review from fpapon and steinarb June 23, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement] Clean Jenkins PR build workspace

2 participants