未验证 提交 916a09e7 编写于 作者: T Tom Meschter 提交者: GitHub

Merge pull request #28386 from tmeschter/TurnOnLocCheckForDev158x-180709

Turn on loc check for dev15.8.x
......@@ -238,9 +238,10 @@ commitPullList.each { isPr ->
// Loc status check
commitPullList.each { isPr ->
// Only add the check to PR builds for now. At some point we'll change this check
// to instead look for particular branch names.
if (isPr) {
// Add the check for PR builds, and dev15.8.x/dev15.8.x-vs-deps builds.
if (isPr
|| branchName == "dev15.8.x"
|| branchName == "dev15.8.x-vs-deps") {
def jobName = Utilities.getFullJobName(projectName, "windows_loc_status", isPr)
def myJob = job(jobName) {
description('Check for untranslated resources')
......@@ -249,8 +250,8 @@ commitPullList.each { isPr ->
}
}
// For now we'll only run this when explicitly asked.
def triggerPhraseOnly = true
// Run it automatically on CI builds but only when requested on PR builds.
def triggerPhraseOnly = isPr
def triggerPhraseExtra = "loc"
Utilities.setMachineAffinity(myJob, 'Windows_NT', windowsUnitTestMachine)
addRoslynJob(myJob, jobName, branchName, isPr, triggerPhraseExtra, triggerPhraseOnly)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册