Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AWS Pipeline 如何确定 ShellCommandActivity 是否失败以及何时启动相应的 on Fail 操作?我可以在脚本中编写代码来检查操作是否正确完成,然后“告诉”AWS Pipeline Activity 是否成功?
当 ShellCommand 返回非零退出代码时,会触发 ShellCommandActivity 的 onFailAction。