Manage & Deploy Code with AWS Developer Tools > Managing a Pipeline from the AWS CLI > Retry Failed Actions


Lesson challenge is to retrieve pipelineExecutionID.

Used identical AWS CLI command as the lesson describes.

[root@romeopeay5 ~]# aws codepipeline get-pipeline-state --name FirstTestPipeline
{
"updated": 1476208633.334,
"stageStates": [
{
"actionStates": [
{
"revisionUrl": "https://us-east-1.console.aws.amazon.com/codecommit/home#/repository/WonderWidgets/browse/a1f78f801bc069de36d027391bd4e5864bddbb12/--/",
"actionName": "Source",
"entityUrl": "https://us-east-1.console.aws.amazon.com/codecommit/home#/repository/WonderWidgets/browse/master/--/",
"latestExecution": {
"lastStatusChange": 1476231324.768,
"status": "Succeeded"
},
"currentRevision": {
"revisionId": "a1f78f801bc069de36d027391bd4e5864bddbb12",
"created": 1476231324.766
}
}
],
"latestExecution": {
"pipelineExecutionId": "ab2ac821-6838-4a5d-b26e-b027e403c6f0",
"status": "Succeeded"
},
"stageName": "Source"
},
{
"inboundTransitionState": {
"enabled": true,
"lastChangedAt": 1476408552.557,
"lastChangedBy": "arn:aws:iam::008668269896:root"
},
"actionStates": [
{
"actionName": "TestApplication_DG",
"entityUrl": "https://us-east-1.console.aws.amazon.com/codedeploy/home?#/applications/CLIApplication",
"latestExecution": {
"lastStatusChange": 1476231392.178,
"externalExecutionId": "d-SPL3HDSEI",
"externalExecutionUrl": "https://us-east-1.console.aws.amazon.com/codedeploy/home?#/deployments/d-SPL3HDSEI",
"summary": "Deployment Succeeded",
"status": "Succeeded"
},
"currentRevision": {
"revisionId": "{\"bucket\":\"codepipeline-us-east-1-704738176535\",\"key\":\"FirstTestPipeline/MyApp/UGNAuCX\",\"bundleType\":\"zip\",\"version\":null,\"etag\":\"9b5f5751732d2fe8b3875618675c8021-1\"}",
"created": 1476231392.169
}
}
],
"latestExecution": {
"pipelineExecutionId": "ab2ac821-6838-4a5d-b26e-b027e403c6f0",
"status": "Succeeded"
},
"stageName": "Beta"
}
],
"pipelineVersion": 1,
"pipelineName": "FirstTestPipeline",
"created": 1476208633.334
}

Comments are disabled for this guide.