Jenkins hudson.AbortException:在配置了文件掩码的路径中找不到文件:output.xml
我使用Jenkins运行RobotFramework脚本,一切正常,直到我意外地删除了当前的工作区。我不知道如何恢复它,现在出现以下错误:Jenkins hudson.AbortException:在配置了文件掩码的路径中找不到文件:output.xml,jenkins,hudson,robotframework,Jenkins,Hudson,Robotframework,我使用Jenkins运行RobotFramework脚本,一切正常,直到我意外地删除了当前的工作区。我不知道如何恢复它,现在出现以下错误: Robot results publisher started... -Parsing output xml: Failed! hudson.AbortException: No files found in path C:\Users\EEMIZHA\.jenkins\jobs\3PI RF2\workspace with configured filem
Robot results publisher started...
-Parsing output xml:
Failed!
hudson.AbortException: No files found in path C:\Users\EEMIZHA\.jenkins\jobs\3PI RF2\workspace with configured filemask: output.xml
at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:77)
at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:54)
at hudson.FilePath.act(FilePath.java:990)
at hudson.FilePath.act(FilePath.java:968)
at hudson.plugins.robot.RobotParser.parse(RobotParser.java:49)
at hudson.plugins.robot.RobotPublisher.parse(RobotPublisher.java:217)
at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:239)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
at hudson.model.Run.execute(Run.java:1763)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Build step 'Publish Robot Framework test results' changed build result to FAILURE
Finished: FAILURE
我安装了robot插件,启用了“发布robot框架测试结果”的后期构建操作,并执行了一个非常简单的Windows批处理命令,如下所示:
cd C:\Users\EEMIZHA\Documents\3PIManager\Testing\
pybot jenkinsConnectionTest.robot
有什么想法吗?通过使用Jenkins中设置为my
\path\to\test
(在高级项目选项/Advanced…)的自定义工作区进行修复。使用-d\path\to\test\output folder
参数运行pybot命令,并将output folder
设置为Robot框架构建后操作中的“Robot输出目录”