0

目前我在我的 Jenkinsfile 中有这个:

sh "./gradlew spoon${flavorCombination}"
publishHTML(target:[allowMissing: true, alwaysLinkToLastBuild: true, keepAll: true, reportDir: "android/build/spoon-output/${flavorCombination}DebugAndroidTest", reportFiles: 'index.html', reportName: 'Spoon'])

当勺子测试通过时,这工作正常 - 我可以看到我的结果报告。但不幸的是,当测试失败时,它们不会被发布 - 但尤其是我想查看报告。有没有办法做到这一点?

4

0 回答 0