Running history details
- Print
- PDF
Running history details
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
View the SourcePipeline history details.
Requests
API URL
GET {SOURCEPIPELINE_API_URL}/project/{projectId}/history/{historyId}
Request parameters
Item | Type | Required | Description | Note |
---|---|---|---|---|
projectId | string | Y | Project ID | |
historyId | string | Y | Task result ID |
Request queries
None
Request bodies
None
Responses
Response bodies
{
"history": {
"id": "number",
"projectId": "number",
"begin": "number",
"end": "number",
"status": "string",
"tasks": [
{
"id": "number",
"name": "string",
"type": "string",
"config": {
"projectId": "number",
"target": {
"name": "string",
"type": "string",
"info": {
"repository": "string",
"branch": "string"
}
}
},
"linkedTasks": ["string"],
"status": "string",
"resultId": "string"
}
]
}
}
Item | Type | Description | Note |
---|---|---|---|
id | number | Pipeline task result ID | |
projectId | number | Project ID | |
begin | number | Run start time | timestamp |
end | number | Run end time | timestamp |
status | string | Task status | |
tasks.id | number | Task ID | |
tasks.name | string | Task name | |
tasks.type | string | Task type | |
tasks.linkedTasks | string[] | Connected tasks | |
tasks.status | string | Task result | |
tasks.resultId | string | Task result ID | |
tasks.config.projectId | number | Task project ID | |
tasks.config.stageId | number | Task stage ID | |
tasks.config.scenario.id | number | Task scenario ID | |
tasks.config.target.name | string | Name of connected task | |
tasks.config.target.type | string | Type of connected task | |
tasks.config.target.info.repository | string | Connected task - repository | |
tasks.config.target.info.branch | string | Connected task - branch | |
tasks.config.target.info.projectName | string | Connected task - SourceBuild project name | |
tasks.config.target.info.file | string | Connected task - Object Storage file name (including path) | |
tasks.config.target.info.manifest | string | Connected task - NKS manifest |
Was this article helpful?