[Review Apps] Don't exit when dependable job fails
The function that retrieves the dependable job is pretty basic and retrieves the first job found with the matching name, but this job can be failed but then successfully retried. In that case, we would exit the depending job even though the dependable job actually succeeded (the second time). Let's simplify things, be optimistic and continue with the depending job even if the dependable job fails. That reverts to the original behavior. Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
daae58d280
commit
a4f7324170
1 changed files with 0 additions and 1 deletions
|
@ -346,7 +346,6 @@ function wait_for_job_to_be_done() {
|
|||
|
||||
if [[ "${job_status}" == "failed" ]]; then
|
||||
echo "The '${job_name}' failed."
|
||||
exit 1
|
||||
elif [[ "${job_status}" == "manual" ]]; then
|
||||
echo "The '${job_name}' is manual."
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue