提交 a154fc42 编写于 作者: J Jonathon Marolf

Update dotnetci.groovy

上级 8f8a6195
......@@ -116,12 +116,12 @@ static void addPullRequestTrigger(def myJob, String contextName, String opsysNam
pullRequest {
admin('Microsoft')
useGitHubHooks(true)
triggerPhrase("(?i).*test\\W+(${contextName.replace('_', '/').substring(7)}|${opsysName}|${triggerKeyword}|${opsysName}\\W+${triggerKeyword}|${triggerKeyword}\\W+${opsysName})\\W+please.*")
triggerPhrase("\\E(?i).*test\\W+(${contextName.replace('_', '/').substring(7)}|${opsysName}|${triggerKeyword}|${opsysName}\\W+${triggerKeyword}|${triggerKeyword}\\W+${opsysName})\\W+please.*\\Q")
onlyTriggerPhrase(triggerOnly)
autoCloseFailedPullRequests(false)
orgWhitelist('Microsoft')
allowMembersOfWhitelistedOrgsAsAdmin(true)
permitAll(true)
permitAll(false)
extensions {
commitStatus {
context(contextName.replace('_', '/').substring(7))
......@@ -149,7 +149,7 @@ static void addPullRequestTrigger(def myJob, String contextName, String opsysNam
switch (opsys) {
case 'win':
myJob.with {
label('windows-roslyn')
label('windows-roslyn roslyn-internal')
steps {
batchFile(".\\cibuild.cmd ${(configuration == 'dbg') ? '/debug' : '/release'} ${(buildTarget == 'unit32') ? '/test32' : '/test64'}")
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册