Build Value for CI Pipeline
Select Build Number / ID
Last updated
Select Build Number / ID
Last updated
Execution of CI Pipeline depends on the parameters that we pass while writing the command.
One of the important parameter is the build number, build ID. Most of the CI Pipelines auto populates these values through built-in environmental variables
Here, we have collected some of the most common used CI Pipelines and the corresponding link to get detail
Azure DevOps
Build.BuildId
Bitbucket
BITBUCKET_BUILD_NUMBER
CircleCI
CIRCLE_BUILD_NUM
GitHub Actions
GITHUB_RUN_ID
GitLab CI
CI_JOB_ID
GoCD
GO_PIPELINE_LABEL
Jenkins
BUILD_TAG
Travis CI
TRAVIS_BUILD_NUMBER