Reputation: 825
I have successfully integrated the allure-report to my Maven based testNG project, and report is successfully generated which I can see by running a jetty server and looking at my localhost. So the xml reports which are generated are inside the main project folder.
Now I am integrating the jenkins with my Test project, Now I am able to build the project from jenkins but not able to see the allure report in the Jenkins. I tried adding the allure-report plugin to my jenkins but I guess I am missing some basic config for allure-report and jenkins.
Kindly suggest if someone has got success in it.
Upvotes: 1
Views: 1069
Reputation: 127
You would have to configure the Allure-Plugin as a Post-Build action in your Jenkins job. There you can set the folder where your xml-results are generated to in your project. Normally this would be "target/allure-results".
The rest should be done by the plugin...
Upvotes: 2