Metadata
Metadata from your build pipeline can be passed via Spark and displayed in Halo for easy linking of Halo Test Run Views back to your CI builds for example.
The HALO_
environment variables that you set within your build pipeline will be displayed in the Metadata tab of a Halo Test Run View.
Requires
nodejs
2024.0.1
ruby
2024.0.1
How it works
- Any environment variables you set with the prefix
HALO_
will be passed to Halo and displayed. - This can be done at ANY point in a test run or in your CI pipeline scripts.
Examples
- Using Jenkins we updated the
jenkinsfile
to set the environment variableBUILD_URL
.
withEnv([
"HALO_COMMIT_ID=${env.COMMIT_ID}",
"HALO_BRANCH_NAME=${env.BRANCH_NAME}",
"HALO_BUILD_URL=${env.BUILD_URL}"
]) {
sh "rake ci:test_desktop"
}