Build Rename

JFrog REST APIs

Content Type
REST API

Description: Renames a build stored in Artifactory. Typically used to keep the build info in sync with a renamed build on the CI server.

Since: 2.2.5

Notes: Requires Artifactory Pro

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

Usage: POST /artifactory/api/build/rename/{buildName}?to=newBuildName

Query Parameters:

Parameter

Type

Description

to

string

The new name for the build.

This parameter is required.

project

string

The name of the project associated with the build. This parameter is required if the build is part of a project.Project Administration

Produces: application/text

Sample Usage:

POST /artifactory/api/build/rename/myJobName?to=myNewJobName

Build renaming of 'myJobName' to 'myNewJobName' was successfully started.