The (JSON) output of the command aio cloudmanager:execution:get-step-details exposes something like
...
{
"action": "Build Image",
"status": "Finished",
"startedAt": "February 19, 2021 7:19 PM",
"finishedAt": "February 19, 2021 7:42 PM",
"duration": "23 minutes"
},
...
The action field is not usable as argument for subsequent command aio cloudmanager:execution:get-step-log as that expect values like (build|codeQuality|devDeploy|stageDeploy|prodDeploy|buildImage)
Instead of building a manual mapping table the former command should expose the actionId (next to the action label) which can be used in subsequent commands as argument.
The (JSON) output of the command
aio cloudmanager:execution:get-step-detailsexposes something likeThe action field is not usable as argument for subsequent command
aio cloudmanager:execution:get-step-logas that expect values like(build|codeQuality|devDeploy|stageDeploy|prodDeploy|buildImage)Instead of building a manual mapping table the former command should expose the actionId (next to the action label) which can be used in subsequent commands as argument.