Not able to view Allure report on Jetty server

本秂侑毒 提交于 2019-12-11 18:07:54

问题


I am trying to set up Allure reports in my automation project. I am following - https://github.com/allure-framework/allure-core/wiki/TestNG, but the http://localhost:8080 only shows "Directory: /" text. I also found Unable to Deploy Allure report on Jetty server had the same problem but the solution there didn't help.


回答1:


Looks like you have wrong site path for jetty, try to change jetty parameter from:

<webAppSourceDirectory>${project.basedir}/site/allure-maven-plugin</webAppSourceDirectory> to

<webAppSourceDirectory>${project.build.directory}/site/allure-maven-plugin</webAppSourceDirectory>



来源:https://stackoverflow.com/questions/39636873/not-able-to-view-allure-report-on-jetty-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!