You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom action (node) executed via a runner and a post-step to clean up after itself. The post step needs to know if any of the previous steps have failed. It always needs to do its cleanup (so i cannot use the post-if) but the cleanup looks slightly different if its a failed job. So how do I do that best?
I've tried using the API (which is hard because its (1) lagging and (2) the job correct job is not easily identifiable. It also doesnt seem to be available in the context. So i wonder if i can in any way get this information via the runner? or some data of the runner? Happy to contribute also if this is not available and deemed useful.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a custom action (node) executed via a runner and a post-step to clean up after itself. The post step needs to know if any of the previous steps have failed. It always needs to do its cleanup (so i cannot use the post-if) but the cleanup looks slightly different if its a failed job. So how do I do that best?
I've tried using the API (which is hard because its (1) lagging and (2) the job correct job is not easily identifiable. It also doesnt seem to be available in the context. So i wonder if i can in any way get this information via the runner? or some data of the runner? Happy to contribute also if this is not available and deemed useful.
Beta Was this translation helpful? Give feedback.
All reactions