Bad Request
Internal server error
Returns retry history execution details
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Executes an Interrupt on a Given Execution
Bad Request
Internal server error
Takes a possible Interrupt value and applies it onto the execution referred by the planExecutionId
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal server error
Takes a possible Interrupt value and applies it onto the given stage in the execution
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Retry a executed pipeline with inputSet pipeline yaml
Bad Request
Internal server error
Returns execution details
Retry a executed pipeline with Runtime Input YAML
pipeline: identifier: "Sample_Pipeline" stages: - stage: identifier: "Sample_Stage" type: "Approval" spec: execution: steps: - step: identifier: "Approval_Step" type: "HarnessApproval" spec: approvers: userGroups: - account._account_all_users: - step: identifier: "Shellscript_Step" type: "ShellScript" spec: source: type: "Inline" spec: script: "exit 0" - stage: identifier: "Sample_Deploy_Stage" type: "Deployment" spec: serviceConfig: serviceRef: "service1" infrastructure: environmentRef: "env1" infrastructureDefinition: type: "KubernetesDirect" spec: connectorRef: "KubernetesConnector>" namespace: "default"
Execute a Pipeline with Input Set References
Bad Request
Internal server error
Returns pipeline execution details V2
{- "inputSetReferences": [
- "string"
], - "withMergedPipelineYaml": true,
- "stageIdentifiers": [
- "string"
], - "lastYamlToMerge": "string"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Execute a Pipeline with Runtime Input YAML
Enter Runtime Input YAML if the Pipeline contains Runtime Inputs. Template for this can be Fetched from /inputSets/template API.
Bad Request
Internal server error
Returns pipeline execution details
Execute Runtime Input YAML
pipeline: identifier: "Sample_Pipeline" stages: - stage: identifier: "Sample_Stage" type: "Approval" spec: execution: steps: - step: identifier: "Approval_Step" type: "HarnessApproval" spec: approvers: userGroups: - account._account_all_users: - step: identifier: "Shellscript_Step" type: "ShellScript" spec: source: type: "Inline" spec: script: "exit 0" - stage: identifier: "Sample_Deploy_Stage" type: "Deployment" spec: serviceConfig: serviceRef: "service1" infrastructure: environmentRef: "env1" infrastructureDefinition: type: "KubernetesDirect" spec: connectorRef: "KubernetesConnector>" namespace: "default"
Bad Request
Internal server error
Execute given Stages of a Pipeline with Runtime Input Yaml
{- "runtimeInputYaml": "string",
- "stageIdentifiers": [
- "string"
], - "expressionValues": {
- "property1": "string",
- "property2": "string"
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}