Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Mitchell <mmitche@microsoft.com>2016-11-16 20:03:40 +0300
committerMatt Mitchell <mmitche@microsoft.com>2016-11-16 20:25:31 +0300
commitd4fa7d2416f4df57009e0bebd09ff80cd60dab2b (patch)
tree8dd08202ff3356fc4d59d6a6adfc7bf7af3cd359 /netci.groovy
parent57dab896b080494ff9d3c7ed35b5a8a805c12c1d (diff)
Use setMachineAffinity instead of legacy labels
Diffstat (limited to 'netci.groovy')
-rw-r--r--netci.groovy4
1 files changed, 2 insertions, 2 deletions
diff --git a/netci.groovy b/netci.groovy
index 627db97970..1c598e161d 100644
--- a/netci.groovy
+++ b/netci.groovy
@@ -280,9 +280,9 @@ def osShortName = ['Windows 10': 'win10',
steps {
helix("Build.cmd -- /p:Creator=dotnet-bot /p:ArchiveTests=true /p:ConfigurationGroup=${configurationGroup} /p:Configuration=Windows_${configurationGroup} /p:TestDisabled=true /p:EnableCloudTest=true /p:BuildMoniker={uniqueId} /p:TargetQueue=Windows.10.Amd64 /p:TestProduct=CoreFx /p:Branch=master /p:OSGroup=Windows_NT /p:CloudDropAccountName=dotnetbuilddrops /p:CloudResultsAccountName=dotnetjobresults /p:CloudDropAccessToken={CloudDropAccessToken} /p:CloudResultsAccessToken={CloudResultsAccessToken} /p:BuildCompleteConnection={BuildCompleteConnection} /p:BuildIsOfficialConnection={BuildIsOfficialConnection} /p:DocumentDbKey={DocumentDbKey} /p:DocumentDbUri=https://hms.documents.azure.com:443/ /p:FuncTestsDisabled=true /p:Performance=true")
}
- // perf tests can be built on any Windows
- label("windows10 || windows7 || windows")
}
+
+ Utilities.setMachineAffinity(newJob, 'Windows_NT', 'latest-or-auto')
// Set up standard options.
Utilities.standardJobSetup(newJob, project, /* isPR */ false, "*/${branch}")