Today, the BUILDKITE_TRIGGERED_FROM_*
variables are set to ""
when you click “Rebuild” button on a build that was triggered from another build. This seems unintuitive to me since Rebuilding should preserve all of the environment variables the original one kicked off with. The exception could be BUILDKITE_SOURCE
.
Not sure if this is a bug or feature.