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
Hi there, I am using Nightwatch and, when there is an error, the files container and result are not generated.
Here are the files generated for a test without error:
ls allure-results
3ec25cbd-e425-41fe-be75-0e79eca5c41a-container.json 66763d57-92f4-4be4-89d3-803387b3c458-attachment.json ed09569d-6a2d-4600-92bf-a5ab23c4beda-result.json
Here are the files generated when a test contains an error:
ls allure-results
827d9043-1e7d-47e3-99ab-87fcefadfe94-attachment.json 9072a99e-fff7-414e-b3af-dd2c2ddb5d96-attachment.png cc4440f2-d49f-4687-b07e-a0fceac674ef-attachment.png d5f4d542-4837-4eb4-a6bd-e7e2c86e3c3e-attachment.json