- Artifacts are stored on the Jenkins master after the artifacts were deployed to Nexus via the “Deploy artifacts to Maven repository”.
- You are getting out of disk space on the master.
- CloudBees CI (CloudBees Core) on modern cloud platforms - Managed Master
- CloudBees CI (CloudBees Core) on traditional platforms - Client Master
- CloudBees Jenkins Enterprise - Managed Master
- CloudBees Jenkins Platform - Client Master
- CloudBees Jenkins Distribution
- Jenkins LTS
- Maven Integration plugin
“Deploy artifacts to Maven repository” requires the archived artifacts so that they can be deployed when the build completes. That’s why disabling archiving (
<archivingDisabled>true</archivingDisabled>) breaks it.
The only option to keep using “Deploy artifacts to Maven repository” while reducing the storage is to decrease the number of the archived artifact to 1 (
- You can use the Configuration Slicing plugin to update the value of
- The cleanup of old artifacts is done at the beginning or the end of each build thus you’ll have to wait for builds to start to do the cleanup (or you can manually trigger it if you have the CloudBees Disk Usage Simple plugin).