提交 9716b036 编写于 作者: J Jared Parsons

Fix bugs in groovy script

上级 8e9b338f
......@@ -139,7 +139,7 @@ static void addPushTrigger(def myJob) {
// Generates the standard trigger phrases. This is the regex which ends up matching lines like:
// test win32 please
static String generateTriggerPhrase(String jobName, string opsysName, Stringc triggerKeyword = 'this') {
static String generateTriggerPhrase(String jobName, String opsysName, String triggerKeyword = 'this') {
return "(?i).*test\\W+(${jobName.replace('_', '/').substring(7)}|${opsysName}|${triggerKeyword}|${opsysName}\\W+${triggerKeyword}|${triggerKeyword}\\W+${opsysName})\\W+please.*";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册