Answer the question
In order to leave comments, you need to log in
How to get reports in jenkins?
Everyone
tell me, how can I display allure reports in jenkins through the pipeline?
A little more:
there is a pytest test that was run on a Windows machine via cmd (Windows is needed), as a result, it issues the main xml report and several json reports on the operations that it did. Now I want to transfer this business to jenkins, transfer accordingly to the pipeline. We installed the alur plugin, and I make the following pipe:
timeout(180) {
timestamps {
node('monitoring-client') {
stage('Run tests') {
catchError {
bat "cd c:/la-la-l && py.test tests/functional/deal/my_test.py --host=prod --log-level=10 --branch=dev"
}
}
stage('Generate report') {
junit 'C:/la-la/reports/*.xml'
allure([
commandline: 'allure-2',
jdk: '',
results:
])
}
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question