@@ -52,12 +52,14 @@ def static getOSGroup(def os) {
52
52
batchFile(" set __TestIntermediateDir=int&&build.cmd release ${ architecture} " )
53
53
batchFile(" tests\\ runtest.cmd release ${ architecture} GenerateLayoutOnly" )
54
54
batchFile(" tests\\ scripts\\ run-xunit-perf.cmd -arch ${ architecture} -configuration ${ configuration} -testBinLoc bin\\ tests\\ Windows_NT.${ architecture} .Release\\ performance\\ perflab\\ Perflab -library -uploadToBenchview C:\\ Tools\\ Microsoft.Benchview.JSONFormat\\ tools -runtype " + runType)
55
+ batchFile(" tests\\ scripts\\ run-xunit-perf.cmd -arch ${ architecture} -configuration ${ configuration} -testBinLoc bin\\ tests\\ Windows_NT.${ architecture} .Release\\ Jit\\ Performance\\ CodeQuality -uploadToBenchview C:\\ Tools\\ Microsoft.Benchview.JSONFormat\\ tools -runtype " + runType)
55
56
}
56
57
}
57
58
58
59
// Save machinedata.json to /artifact/bin/ Jenkins dir
59
60
def archiveSettings = new ArchivalSettings ()
60
- archiveSettings. addFiles(' sandbox\\ perf-*.xml' )
61
+ archiveSettings. addFiles(' perf-*.xml' )
62
+ archiveSettings. addFiles(' perf-*.etl' )
61
63
Utilities . addArchival(newJob, archiveSettings)
62
64
63
65
Utilities . standardJobSetup(newJob, project, isPR, " */${ branch} " )
@@ -79,45 +81,6 @@ def static getOSGroup(def os) {
79
81
}
80
82
}
81
83
82
- [true , false ]. each { isPR ->
83
- [' Windows_NT' ]. each { os ->
84
- def newJob = job(Utilities . getFullJobName(project, " perf_${ os} " , isPR)) {
85
-
86
- // Set the label.
87
- label(' performance' )
88
- steps {
89
- // Batch
90
- batchFile(" C:\\ Tools\\ nuget.exe install Microsoft.BenchView.JSONFormat -Source http://benchviewtestfeed.azurewebsites.net/nuget -OutputDirectory C:\\ tools -Prerelease -ExcludeVersion" )
91
- batchFile(" py C:\\ tools\\ Microsoft.BenchView.JSONFormat\\ tools\\ machinedata.py" )
92
- batchFile(" set __TestIntermediateDir=int&&build.cmd release ${ architecture} " )
93
- batchFile(" tests\\ runtest.cmd release ${ architecture} " )
94
- batchFile(" tests\\ scripts\\ run-xunit-perf.cmd -arch ${ architecture} -configuration ${ configuration} -testBinLoc bin\\ tests\\ Windows_NT.x64.Release\\ Jit\\ Performance\\ CodeQuality" )
95
- }
96
- }
97
-
98
- // Save machinedata.json to /artifact/bin/ Jenkins dir
99
- def archiveSettings = new ArchivalSettings ()
100
- archiveSettings. addFiles(' sandbox\\ perf-*.xml' )
101
- archiveSettings. addFiles(' machinedata.json' )
102
- Utilities . addArchival(newJob, archiveSettings)
103
-
104
- Utilities . standardJobSetup(newJob, project, isPR, " */${ branch} " )
105
- if (isPR) {
106
- TriggerBuilder builder = TriggerBuilder . triggerOnPullRequest()
107
- builder. setGithubContext(" ${ os} Perf Tests" )
108
- builder. triggerOnlyOnComment()
109
- builder. setCustomTriggerPhrase(" (?i).*test\\ W+${ os} \\ W+perf.*" )
110
- builder. triggerForBranch(branch)
111
- builder. emitTrigger(newJob)
112
- }
113
- else {
114
- // Set a push trigger
115
- TriggerBuilder builder = TriggerBuilder . triggerOnCommit()
116
- builder. emitTrigger(newJob)
117
- }
118
- }
119
- }
120
-
121
84
// Create the Linux/OSX/CentOS coreclr test leg for debug and release and each scenario
122
85
[true , false ]. each { isPR ->
123
86
[' Ubuntu' ]. each { os ->
0 commit comments