[JIRA] (JENKINS-40677) ability to delete parameter-files stuff after a build completes

2 views
Skip to first unread message

widjik@gmail.com (JIRA)

unread,
Dec 26, 2016, 10:10:05 AM12/26/16
to jenkinsc...@googlegroups.com
First Name created an issue
 
Jenkins / Improvement JENKINS-40677
ability to delete parameter-files stuff after a build completes
Issue Type: Improvement Improvement
Assignee: huybrechts
Components: parameterized-trigger-plugin
Created: 2016/Dec/26 3:09 PM
Priority: Minor Minor
Reporter: First Name

When a parameter is a file, for ex., in "For every matching file, invoke one build", those files are being saved into /var/lib/jenkins/jobs/$job/builds/$buildid/$varname/$file_pattern location. I haven't found any way to delete that stuff from that location – delete workspace will act on /var/lib/jenkins/workspace/ and "Discard old builds" -> artifacts cleanup checkbox does nothing.

Thanks.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

widjik@gmail.com (JIRA)

unread,
Dec 26, 2016, 10:11:01 AM12/26/16
to jenkinsc...@googlegroups.com
First Name updated an issue
Change By: First Name
When a parameter is a file, for ex., in "For every matching file, invoke one build", those files are being saved into /var/lib/jenkins/jobs/$job/builds/$buildid/$varname/$file_pattern location. I haven't found any way to delete that stuff from that location -- delete "Delete workspace " will act on /var/lib/jenkins/workspace/ and "Discard old builds" -> artifacts cleanup checkbox does nothing.

Thanks.

widjik@gmail.com (JIRA)

unread,
Dec 26, 2016, 10:11:01 AM12/26/16
to jenkinsc...@googlegroups.com
First Name updated an issue
When a parameter is a file, for ex., in "For every matching file, invoke one build", those files are being saved into /var/lib/jenkins/jobs/$job/builds/$buildid/$varname/$file_pattern location. I haven't found any way to delete that stuff from that location -- "Delete workspace" will act on /var/lib/jenkins/workspace/ and "Discard old builds" -> " artifacts cleanup " checkbox does nothing.

Thanks.

widjik@gmail.com (JIRA)

unread,
Dec 26, 2016, 10:26:01 AM12/26/16
to jenkinsc...@googlegroups.com
First Name commented on Improvement JENKINS-40677
 
Re: ability to delete parameter-files stuff after a build completes

I'm also seeing stuff being accumulated in builds/$buildid/fileParameters/ subdir.

code.shiquan@gmail.com (JIRA)

unread,
Nov 5, 2019, 2:59:02 AM11/5/19
to jenkinsc...@googlegroups.com

Voting for a way to delete/manage files in fileParameters subdirectory in the Jobs folder.

My current build process involves uploading a 300+MB installer file to Jenkins, which would then be deployed on whichever node that is running the build to test the installer file. The file would be cleared from the respective workspaces at the end of the job, but the uploaded file stays in the fileParameters folder, which bulks up the Jenkins directory considerably over time.

These files will never be used again after the job is done, so there isn't much point in keeping these in the Jobs folder. The installers can be rebuilt at anytime in the future since the file version information is already extracted during build.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages