Set Next Run Number

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Admin users can set the next run number so that the next run will start from the given run number. The run number provided must be greater than the current run number.

Security: Requires a valid user

Usage: PUT api/v1/pipelines/:pipelineId

Produces: application/json

Request Parameters:

Parameter

Type

Description

Required/Optional

pipelineId

Integer

The numeric Id of the pipeline for which the next run number is to be set.

Required

Sample request bodies:

{
  nextRunNumber: 123
}

Response Codes:

200: Success

404: No pipeline found for the supplied ID