Wait for codebuild and get build result using aws cli or boto3

余生颓废 提交于 2020-01-07 06:27:09

问题


I want to wait for a codebuild build and get the result of the build using the aws cli or boto3. There does not seem to be any command for this. All I can do is list builds, but only the build-ids. There is not information about the build (if it is still running and what the build result is).


回答1:


Pass the build ID to batch-get-builds: http://docs.aws.amazon.com/cli/latest/reference/codebuild/batch-get-builds.html



来源:https://stackoverflow.com/questions/44407953/wait-for-codebuild-and-get-build-result-using-aws-cli-or-boto3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!