Buildkite Changelog

Whatโ€™s new and updated in Buildkite


Unblocker environment variables

Posted February 25, 2019 by Samuel

Block steps record the person who unblocks them, and this information is available to subsequent steps via $BUILDKITE_UNBLOCKER environment variables. ๐Ÿ‘ฎโ€โ™‚๏ธ

List of unblocker environment variables from the documentation linked earlier

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: ๐Ÿ’โ€โ™€๏ธ

Deployment pipeline with block step still blocked and a subsequent waiting command job

The $BUILDKITE_UNBLOCKER environment variables will be set to the person who presses the Deploy button: ๐Ÿ™‹โ€โ™€๏ธ

Block step which has been unblocked and a completely command job with the unblocker's name

You can read more about block steps in our documentation. ๐Ÿ“š

Bugfix