2017-01-04 23 views
0

有沒有人設法使用正則表達式來處理Jenkins Naginator插件?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插件重建只有當它被終止以前的版本。 因此,我把: enter image description here

但這是行不通的。我嘗試了很多正則表達式的變體(例如Build被中止),但沒有運氣。 有沒有人設法讓它工作?

你有任何的替代品重新運行只有一個被中止建造(不失敗或成功,或不穩定)

回答

1

只跳過斜線。在 「正則表達式」 應該是在這種情況下:

Build was aborted 

您可以

|| 

添加OR條件只是作爲一個例子:

ERROR: Error fetching remote repo 'origin' || .OutOfMemoryError