I'm running Jenkins parameterized jobs with the following pipeline configuration of allure
step:
stage('Generate reports') {
allure([
includeProperties: false,
jdk : '',
properties : [],
reportBuildPolicy: 'ALWAYS'
results : [[path: webdriverTestResultsPath], [path: unitTestResultsPath]]])
}
Build's parameters, which are set before starting the job, become available within getEnv()
in my tests. I'd like to show some of them in the Environment
section of Allure report's dashboard. For instance, there is a HOST build parameter which specifies the base application url.
Is there a way to do this?