我正在尝试使用 Email-ext 插件从 Jenkins 控制台获取摘录。虽然我尝试使用 ${BUILD_LOG_EXCEPT, start="...", end="..."} 但我得到的只是一封空白电子邮件。以下是来自 Jenkins 控制台的日志:
Notify: Transaction "Transaction 2" started. [MsgId: MMSG-16999]
t=00027899ms: Step Coded line #17: Click on About Us link started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00054300ms: Error -205177: Step Coded line #17: Click on About Us link failed - Target object was not found. Identification Method: Descriptors Snapshot Info [MSH 1 0] [MsgId: MERR-205177] [MsgId: MERR-205177]
我在“可编辑电子邮件通知”的默认内容部分尝试了以下行
${BUILD_LOG_EXCERPT, start="^Error", end="found$"}
PS:请指导我如何编写适当的正则表达式来实现结果。