anaconda / ae5-tools

A command-line tool for scripting AE5 actions
https://www.anaconda.com/enterprise/
BSD 3-Clause "New" or "Revised" License
9 stars 8 forks source link

Add `failed` to state list to avoid endless loop while waiting for job to finish or fail #150

Closed derickmelotte closed 1 year ago

derickmelotte commented 1 year ago

Jobs that fail in Anaconda Enterprise can return a state of "failed". When this happens, the job gets stuck in an endless loop. Simply adding "failed" the the list of states will exit the loop addresses this issue.

derickmelotte commented 1 year ago

This is related to issue #149

mcg1969 commented 1 year ago

Drat, I can't give you access to our build secrets, so the tests aren't passing. I willbuild my own PR for this.

mcg1969 commented 1 year ago

Merged via #151 . Thank you!