【问题标题】:Not able to view Allure report on Jetty server无法在 Jetty 服务器上查看 Allure 报告
【发布时间】:2016-09-23 15:01:49
【问题描述】:

我正在尝试在我的自动化项目中设置 Allure 报告。我正在关注 - https://github.com/allure-framework/allure-core/wiki/TestNG,但 http://localhost:8080 仅显示“目录:/”文本。我还发现Unable to Deploy Allure report on Jetty server 有同样的问题,但那里的解决方案没有帮助。

【问题讨论】:

  • 这里是pom.xml
  • 这是我在运行mvn site时得到的输出
  • 使用edit 提供更多信息并将文件直接包含在您的问题中,而不是链接到外部托管商。
  • @SvenSchoenung 感谢您提供的信息,发布问题后我找不到如何编辑。

标签: maven testng allure


【解决方案1】:

看起来你有错误的码头站点路径,尝试更改码头参数:

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

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

【讨论】:

    猜你喜欢
    • 2016-02-11
    • 1970-01-01
    • 2017-04-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多