Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon Data Pipeline: When does ShellCommandActivity start the On Fail Action?

How does the AWS Pipeline determine if a ShellCommandActivity fails or not and when it starts the corresponding on Fail action? Can I write code in the script which checks if the actions where done correctly and then "tells" the AWS Pipeline that the Activity was sucessfull or not?

like image 500
Biffy Avatar asked Apr 06 '26 22:04

Biffy


1 Answers

onFailAction for ShellCommandActivity is triggered when the ShellCommand returns a non-zero exit code.

like image 198
SudheerT Avatar answered Apr 10 '26 18:04

SudheerT