Discard Old Builds and Artifacts

To save storage space, you can configure a job to discard its old builds and artifacts:

  1. Open the job’s configuration page.

  2. Click Settings the Gear icon.

  3. Click the General tab, if necessary.

  4. If not selected, select Discard Old Builds.

  5. Configure the discard options.

  6. Click Save.

Old builds will be discarded after you save the job configuration and after a job has been built.