A flexible lightweight multi-language test report tool with the possibility to add steps, attachments, parameters and so on.
contentType('text/html')
triggers {
always {
subject('$PROJECT_DEFAULT_SUBJECT')
content('$DEFAULT_CONTENT')
sendTo{
recipientList()
}
}
}
}
archiveArtifacts {
pattern('automationReports/**/*')
pattern('${LOGGING_DIR}/*')
fingerprint()
allowEmpty()
}
publishHtml {
report('allure-report') {
reportName('Test Output')
}
report('test') {
reportName('Allure Tests')
keepAll()
allowMissing()
alwaysLinkToLastBuild()
}
}
allure(['automationReports/allure-results/'])
}
Hi all, maybe someone can help me
I need to send results using email. I set it using Email-ext Jenkins Plugin and groovy template that I found
But i need to add also environment variables from the report for example this one 'OS Android'
I see that in template it uses:lastAllureReportBuildAction = build.getAction(ru.yandex.qatools.allure.jenkins.AllureReportBuildAction.class)
${lastAllureReportBuildAction.getPassedCount()}
But I didn't found a way how to add environment variables(added screenshot) from the allure report, maybe someone know how to do this