You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu 22.04.5 LTS with Jenkins running in the official Docker container.
Reproduction steps
If I run the following command to start a new job: curl -v -X POST --user $USER:$TOKEN "https://jenkins01.company.com/job/JobName/buildWithParameters"
A temporary folder called jenkins-stapler-uploads is created in /tmp/ and this folder is not being removed again.
Our procedure is to start jobs with files attached, which are also contained in the stapler-uploads files.
We usually attach 10-100MB files which means that the system runs out of storage over time.
Expected Results
That the temporary folders are removed when not needed anymore or periodically after some time.
Actual Results
The jenkins-stapler-uploads files are never removed.
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu 22.04.5 LTS with Jenkins running in the official Docker container.
Reproduction steps
If I run the following command to start a new job:
curl -v -X POST --user $USER:$TOKEN "https://jenkins01.company.com/job/JobName/buildWithParameters"
A temporary folder called
jenkins-stapler-uploads
is created in/tmp/
and this folder is not being removed again.Our procedure is to start jobs with files attached, which are also contained in the stapler-uploads files.
We usually attach 10-100MB files which means that the system runs out of storage over time.
Expected Results
That the temporary folders are removed when not needed anymore or periodically after some time.
Actual Results
The jenkins-stapler-uploads files are never removed.
Anything else?
Asked question about this issue here, before opening issue:
https://community.jenkins.io/t/temporary-stapler-folder-not-being-removed/25946
Quick reference to where the files are created:
stapler/core/src/main/java/org/kohsuke/stapler/RequestImpl.java
Line 1175 in 78e497c
Are you interested in contributing a fix?
No
The text was updated successfully, but these errors were encountered: