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
Think I've found a way. Looks like I was incorrectly assuming that what was returned from build.get() was the job (per code snippet in #102 (comment), which has it assigned to a job const. I think assigning to a build const is more accurate. Then we can read from the result of the build.
This is more of a question rather than an "issue". But let's say I'm using the following to retrieve a
job
object from a build that has failed:I tried using the following....
But that doesn't work if some other build (567) has failed before the code above ☝️ runs.
Given this scenario, what is the recommended way to detect the build failure and throw an error?
The text was updated successfully, but these errors were encountered: