StageExecution
StageExecution
Contains Stage Execution details.
JSON Example
{
"_durationInMicros": 1568625938000000,
"_endTime": 1568625938000000,
"_startTime": 1568625938000000,
"id": "8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
"name": "My-Name",
"notifications": [
{
"eventGroup": "COMPLETED",
"jiraResponse": {
"ID": "VRCS-23",
"link": "/link/to/Jira/issue/VRCS-23"
},
"providerType": "Email/Slack/Jira",
"responseCode": 200,
"responseMessage": 200,
"stage": "string",
"success": true,
"task": "string"
}
],
"rollbackConfiguration": {
"inputs": {
"test": {
"description": "test-value",
"mandatory": false
}
},
"name": "Rolback-Pipeline",
"stage": "Dev-Stage",
"task": "Publish-Image-Task"
},
"rollbackResponse": {
"_link": "/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337",
"index": 4,
"name": "My-Rolled-Back-Pipeline",
"output": [
{
"key": "env",
"value": "dev"
}
],
"status": "COMPLETED",
"statusMessage": "Executing Stage0"
},
"status": "COMPLETED",
"statusMessage": "Executing Stage0",
"taskOrder": [
"string"
],
"tasks": {
"tasks": {
"_durationInMicros": 1568625938000000,
"_endTime": 1568625938000000,
"_startTime": 1568625938000000,
"endpoints": {
"endpoints": "string"
},
"failureMessage": "string",
"id": "8365ef3b-8bf3-48aa-bd5d-7113fcff827c~0.0",
"ignoreFailure": true,
"input": [
{
"ip": "10.5.23.84",
"script": "testScript.sh"
}
],
"name": "My-Name",
"notifications": [
{
"eventGroup": "COMPLETED",
"jiraResponse": {
"ID": "VRCS-23",
"link": "/link/to/Jira/issue/VRCS-23"
},
"providerType": "Email/Slack/Jira",
"responseCode": 200,
"responseMessage": 200,
"stage": "string",
"success": true,
"task": "string"
}
],
"output": [
{
"deployedMachineIP": "10.108.35.54",
"result": "true"
}
],
"preCondition": "${input.buildNumber} != '100'",
"rollbackConfiguration": {
"inputs": {
"test": {
"description": "test-value",
"mandatory": false
}
},
"name": "Rolback-Pipeline",
"stage": "Dev-Stage",
"task": "Publish-Image-Task"
},
"rollbackResponse": {
"_link": "/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337",
"index": 4,
"name": "My-Rolled-Back-Pipeline",
"output": [
{
"key": "env",
"value": "dev"
}
],
"status": "COMPLETED",
"statusMessage": "Executing Stage0"
},
"status": "COMPLETED",
"statusMessage": "Executing Task0",
"type": "jenkins"
}
}
}
integer As int64
As int64
_durationInMicros
Optional
Execution duration of the Stage Execution (in micros).
integer As int64
As int64
_endTime
Optional
End time of the Stage Execution (in micros)..
integer As int64
As int64
_startTime
Optional
Start time of the Stage Execution (in micros)..
string
id
Optional
The id of this Stage.
string
name
Required
A human-friendly name used as an identifier For the Stage.
rollbackResponse
Optional
Represents the response after rolling back a Stage or Task.
string
status
Optional
Execution status of the Stage Execution.
Possible values are :
NOT_STARTED,
STARTED,
RUNNING,
CANCELING,
WAITING,
RESUMING,
PAUSING,
PAUSED,
CANCELED,
COMPLETED,
FAILED,
SKIPPED,
QUEUED,
FAILED_CONTINUE,
ROLLING_BACK,
ROLLBACK_FAILED,
PREPARING_WORKSPACE,
ROLLBACK_COMPLETED,
string
statusMessage
Optional
Execution status message of the Stage Execution.
array of
string
taskOrder
Optional
Ordering of the various Tasks within the Stage.
object
tasks
Optional
Represents the various Tasks in the Stage.