Page MenuHomePhabricator

Add repository short name as a variable in build steps
Closed, DuplicatePublic


In build steps it's possible to use variables like ${repository.callsign}. This allows one to use a single build plan for all repositories, instead of having to define an almost identical build plan for every single repository.

Unfortunately we can't use the callsign variable when using Buildkite, because:

  • We would have to give all pipelines cryptic names like P, RS and SF without a description
  • Buildkite converts all pipeline names in URLs to lowercase

Is it possible to make a ${repository.shortname} variable available for build steps? That would enable us to match Phabricator repositories and Buildkite pipelines using the repository's short name.