Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a cleanup stage in Jenkinsfile #906

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Adds a cleanup stage in Jenkinsfile #906

wants to merge 1 commit into from

Conversation

wsodsong
Copy link
Collaborator

Tosca PR may run on a dedicated PR testing agent. Each PR is built as a separated job and has its own workspace on the agent, which quickly fills the storage space. This PR adds a cleanup stage to reduce required disk space.

@LuisPH3
Copy link
Contributor

LuisPH3 commented Oct 23, 2024

Hi @wsodsong, I would recommend using some cleanup-plugin from Jenkins: https://www.jenkins.io/doc/pipeline/steps/ws-cleanup/#workspace-cleanup-plugin
The reason being shifting responsibilities: make clean could be ill-written and not cleaning the environment, projects could have not well tested make clean mechanisms (specially projects like Aida, fetching different versions of Tosca, Carmen...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants