apigee / henchman

Orchestration and Automation tool
BSD 2-Clause "Simplified" License
109 stars 19 forks source link

Henchman should return exit code of the task it returned. #105

Closed baskaran-md closed 8 years ago

baskaran-md commented 8 years ago

If a task fails with non-zero exit code, Henchman still returns zero. It should actually return the exit code of that failed task.

sudharsh commented 8 years ago

While it should return a non-zero code, I feel it should be independent of the executed task code. In a multi-machine scenario, a given task can fail only on a certain subset of nodes.

jlin21 commented 8 years ago

I agree with sudharsh. The tasks are run on a remote machine. Henchman should return code should be base off henchmans execution

baskaran-md commented 8 years ago

Why this was closed? Resolution?