Skip to content

Commit

Permalink
Merge pull request #30537 from jaredpar/fix-spanish
Browse files Browse the repository at this point in the history
Move Spanish job to Azure DevOps
  • Loading branch information
jaredpar committed Oct 16, 2018
2 parents 18514e0 + 86146f4 commit 4a070ba
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 16 deletions.
25 changes: 25 additions & 0 deletions .vsts-dnceng.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,31 @@ phases:
continueOnError: true
condition: failed()

- phase: Windows_Desktop_Spanish_Unit_Tests
queue:
name: dnceng-windows-spanish-external-temp
timeoutInMinutes: 90

steps:
- script: build/scripts/cibuild.cmd -configuration Debug -testDesktop
displayName: Build and Test

- task: PublishTestResults@1
inputs:
testRunner: XUnit
testResultsFiles: '**/xUnitResults/*.xml'
mergeTestResults: true
testRunTitle: 'Windows Desktop Spanish'
condition: succeededOrFailed()

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\Binaries\$(_configuration)\Logs'
ArtifactName: 'Windows Desktop Spanish'
publishLocation: Container
continueOnError: true
condition: failed()

- phase: Windows_CoreClr_Unit_Tests
queue:
name: dotnet-external-temp
Expand Down
16 changes: 0 additions & 16 deletions netci.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,6 @@ if (branchName.startsWith("features/")) {
commitPullList = [true]
}

// Windows Spanish image
commitPullList.each { isPr ->
def jobName = Utilities.getFullJobName(projectName, "windows_debug_spanish_unit32", isPr)
def myJob = job(jobName) {
description("Windows debug unit tests on unit32 using Spanish language")
steps {
batchFile(""".\\build\\scripts\\cibuild.cmd -configuration Debug -test32 -testDesktop""")
}
}
def triggerPhraseOnly = false
def triggerPhraseExtra = ""
Utilities.setMachineAffinity(myJob, 'Windows.10.Amd64.ClientRS4.ES.Open')
Utilities.addXUnitDotNETResults(myJob, '**/xUnitResults/*.xml')
addRoslynJob(myJob, jobName, branchName, isPr, triggerPhraseExtra, triggerPhraseOnly)
}

// Mac
commitPullList.each { isPr ->
def jobName = Utilities.getFullJobName(projectName, "mac_debug", isPr)
Expand Down

0 comments on commit 4a070ba

Please sign in to comment.