3
2つの別々のロボットテストスイートを実行するJenkins 2.0パイプラインスクリプトがあります。スクリプトは両方のテストスイートの結果を公開しようとしますが、パブリッシャは最初のパブリッシュを最後のパブリッシュに上書きします。 UIからJenkinsパイプラインから複数のロボットテスト結果を公開
node('robot') {
...
publishTestResults('journey')
publishTestResults('regression')
}
void publishTestResults(String type) {
step([
$class : 'hudson.plugins.robot.RobotPublisher',
outputPath : 'portfolio-app\\target\\robot-output\\' + type,
passThreshold : 100,
unstableThreshold: 100,
otherFiles : '',
reportFileName : '*\\report*.html',
logFileName : '*\\log*.html',
outputFileName : '*\\output*.xml'
])
}
、我々は2つの公開された結果を見ますが、両方のセットはregression
テストケースのためのものです。最後のパブリッシュが勝ちます。
我々はロボット結果の2セットを公開することができますどのような方法があります。
ありがとうございました。これを行う方法に関する文書がありますか?これは本当にフォールバックのオプションになります。 2つのテストスイート結果を別々に提示することが理想的です。 – timmy
ドキュメンテーションはここにあります:http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#using-robot-and-rebot-scripts "rebot --help"は多くのオプションのリストを提供します。結果をゲンキンズに持ち込む前に、 'rebot -o combined.xml -r combinedreport.html -l combinedlog.html -x combined.xunit **/*。xml'のようなものを使用します。 –