Discard Old Builds and Artifacts
To save storage space, you can configure a job to discard its old builds and artifacts:
-
Open the job’s configuration page.
-
Click Settings .
-
Click the General tab, if necessary.
-
If not selected, select Discard Old Builds.
-
Configure the discard options.
-
Click Save.
Old builds will be discarded after you save the job configuration and after a job has been built.