Closed casperisfine closed 6 months ago
We got a report of somebody running into this issue with the RSpec runner as well.
There doesn't seem to be one in CircleCI. Their docs, and it matches what I see in our builds.
Any ideas on how to achieve the same?
I'm not sure it can apply to Circle anyway, as IIRC you can't retry individual jobs in Circle, you have to retry the full build.
Oh, right. It's using CIRCLE_BUILD_URL
. Yeah, that'll definitely be different per build, even retries.
Currently some of our projects use the following wrapper script:
This is pretty much always the behavior you want, so
minitest-queue
andrspec-queue
should behave like this by default if they detect the job was retried.I need to check CircleCI & Travis-ci docs to know if they have a similar env var.
cc @jmreid @wvanbergen