Delete Builds (Multiple)

Removes builds stored in Artifactory. Useful for cleaning up old build info data. This endpoint allows deleting multiple build numbers of a certain build, including build numbers containing special characters.

Note: Requires Artifactory Pro.

Note: When deleteArtifacts is set to true, the artifacts to be deleted are located according to the following build properties: build.name, build.number, build.timestamp. Certain build integration tools (for example, Jenkins) might generate build.timestamp values that are inconsistent with the started value in the build-info. In such cases, the deletion process will check whether the same build and build number exist in another project:

  • If they are found, the artifacts will not be deleted.
  • If they are not found, the artifacts will be deleted based on their SHA and the following build properties: build.name and build.number. The build.timestamp property is ignored due to the inconsistencies.
  • If the artifacts were promoted or copied to another target, they will also be deleted from those locations.

Security: Requires a privileged user. From version 6.6, requires delete permission for the Build.

Language
Credentials
URL
Response
Click Try It! to start a request and see the response here!