Jenkins中的“魅力”报告未加载,并且显示了浏览器中的加载

时间:2018-08-22 10:26:50

标签: jenkins jenkins-plugins appium allure

我在报告框架中使用了魅力报告。

在Jenkins上完成测试脚本并单击“诱人报告”图标后,它不会加载显示为正在加载的报告。

Allure Jenkins插件版本= 2.10

以下是Jenkins控制台的输出:

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project com.fa.ipsy: There are test failures.
[ERROR] 
[ERROR] Please refer to /Users/Edu/jenkins/workspace/Appium_android/target for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Build step 'Execute shell' marked build as failure
[Appium_ipsy_mobile] $ /Users/Edu/jenkins/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/1.4.23.HOTFIX1/bin/allure generate "/Users/Edu/jenkins/workspace/Appium_android/target/allure-results" "/Users/Edu/jenkins/workspace/Appium_android/allure4208353174449196512.tmp/environment" -o "/Users/Edu/jenkins/workspace/Appium_android/allure4208353174449196512.tmp/allure-report"
Report successfully generated to the directory </Users/Edu/jenkins/workspace/Appium_android/allure4208353174449196512.tmp/allure-report>. Use `allure report open` command to show the report.
Finished: FAILURE

Allure HTML reprort

感谢您的帮助

1 个答案:

答案 0 :(得分:0)

问题现已解决,我们可以看到Allure HTML报告。

我们已将Allure Jenkins插件版本(2.10)更新为 2.26.0

谢谢