1
最近、私はいくつかのハドソンスレーブマシンを動作中のマスターに追加しました。リモートハドソンビルドの出力を取得する
ビルドの中には、関連するプラグインを使用して公開された結果ファイル(Doxygen出力、ブーストユニットテスト結果、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'.
私はそれを試みましたが、動作させることができません。 – Neil
HTML Publisher Pluginのバグがあります:https://issues.jenkins-ci.org/browse/JENKINS-6780。しかし、それは動作する必要があるとmaintanerが主張しているようです。 –