IlLink perf stopped running because the VM pool name does not exist. (#13672)
authorJosé Rivero <jorive@microsoft.com>
Wed, 30 Aug 2017 01:10:32 +0000 (18:10 -0700)
committerGitHub <noreply@github.com>
Wed, 30 Aug 2017 01:10:32 +0000 (18:10 -0700)
perf.groovy

index 9010ddf..5ff3984 100644 (file)
@@ -692,9 +692,6 @@ parallel(
                     def newJob = job(Utilities.getFullJobName(project, "perf_illink_${os}_${arch}_${opt_level}_${jit}", isPR)) {
 
                         def testEnv = ""
-
-                        // Set the label (currently we are only measuring size, therefore we are running on VM).
-                        label('20170427-elevated')
                         wrappers {
                             credentialsBinding {
                                 string('BV_UPLOAD_SAS_TOKEN', 'CoreCLR Perf BenchView Sas')
@@ -747,6 +744,8 @@ parallel(
                     archiveSettings.addFiles('bin/toArchive/**')
                     archiveSettings.addFiles('machinedata.json')
 
+                    // Set the label (currently we are only measuring size, therefore we are running on VM).
+                    Utilities.setMachineAffinity(newJob, "Windows_NT", '20170427-elevated')
                     Utilities.addArchival(newJob, archiveSettings)
                     Utilities.standardJobSetup(newJob, project, isPR, "*/${branch}")