【问题标题】:Getting output from remote hudson builds从远程 hudson 构建中获取输出
【发布时间】:2012-04-15 22:32:10
【问题描述】:

我最近将几台 Hudson 从机添加到工作主机。

一些构建具有使用相关插件发布的结果文件(Doxygen 输出、Boost 单元测试结果、cppcheck)。

如果这些构建在主服务器上运行,则输出文件发布成功,但如果它们在从服务器上运行,则构建失败,因为找不到文件。

插件似乎在主服务器上寻找输出文件,当然,它们在从服务器上。

有没有办法解决这个问题?

Plugins used:
 - Jenkins Cppcheck Plug-in V1.2
 - Doxygen Plugin V0.9
 - HTML Publisher plugin V0.6

编辑: 尝试存档建议,但我无法让它工作。 cppcheck.xml 已正确归档并存在于相对目录中 ../lastSuccessful/archive/cppcheck.xml

哈德逊日志:

Archiving artifacts
[Cppcheck] Starting the cppcheck analysis.
[Cppcheck] No cppcheck test report file(s) were found with the pattern
    '../lastSuccessful/archive/cppcheck.xml' relative to
    '/home/hudson/.hudson/jobs/1.11-IntegrationDebug/workspace'.  
    Did you enter a pattern relative to the correct directory?  
    Did you generate the XML report(s) for Cppcheck?
[Cppcheck] Parsing throws exceptions. No cppcheck test report file(s) were 
    found with the pattern '../lastSuccessful/archive/cppcheck.xml' relative to 
    '/home/hudson/.hudson/jobs/1.11-IntegrationDebug/workspace'. 

【问题讨论】:

    标签: plugins hudson master slave


    【解决方案1】:

    解决方法:将工件复制到您的工作区并从那里发布。

    【讨论】:

    猜你喜欢
    • 2012-11-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多