【发布时间】:2018-10-13 20:57:42
【问题描述】:
有没有人设法让 Jenkins Naginator 插件使用正则表达式?
我有控制台输出
Build was aborted
Aborted by xxxxxxxxx
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level C:\xxxxxxxxx\workspace\testSuiteExecution\target\surefire-reports to /var/lib/jenkins/jobs/testSuiteExecution/builds/534/htmlreports/HTML_Report
ERROR: Specified HTML directory 'C:\xxxxxx\workspace\testSuiteExecution\target\surefire-reports' does not exist.
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Notifying upstream projects of job completion
Finished: ABORTED
我使用 naginator 插件仅在它被中止的情况下重建以前的构建。 因此我提出:
但这不起作用。我尝试了许多正则表达式变体(例如,构建被中止),但没有运气。 有没有人设法让它工作?
您是否有任何替代方法可以仅重新运行已中止的构建(未失败、成功或不稳定)
【问题讨论】: