Unblocker environment variables
Block steps record the person who unblocks them, and this information is available to subsequent steps via $BUILDKITE_UNBLOCKER
environment variables. ๐ฎโโ๏ธ
Due to a quirk in our job environment calculations, these variables were only available in steps that were pipeline uploaded after the block step. This has been fixed, so now all steps after a block step will have the correct unblocker environment variables, no matter how theyโre defined or uploaded. ๐ฏ
So if you upload a deployment pipeline like this: ๐โโ๏ธ
The $BUILDKITE_UNBLOCKER
environment variables will be set to the person who presses the Deploy button: ๐โโ๏ธ
You can read more about block steps in our documentation. ๐
Samuel
Start turning complexity into an advantage
Create an account to get started with a 30-day free trial. No credit card required.