@@ -194,14 +194,14 @@ def gitHubCommentWithBenchmarkReport() {
194194 }
195195 dir(" ${ BASE_DIR} " ) {
196196 // download artifacts for this PR
197- def bucketUri = getBenchmarkBucketURI() + " *.xml "
197+ def bucketUri = getBenchmarkBucketURI() + " *.json "
198198 log(level : ' INFO' , text : " googleStorageDownload(bucketUri: ${ bucketUri} , localDirectory: ${ currentBenchmarkResults} , pathPrefix: ${ getBenchmarkPathPrefix()} )" )
199199 googleStorageDownload(bucketUri : bucketUri, credentialsId : " ${ JOB_GCS_CREDENTIALS} " , localDirectory : currentBenchmarkResults, pathPrefix : getBenchmarkPathPrefix())
200200
201201 // download artifacts from the target branch if any
202202 if (env. CHANGE_TARGET ) {
203203 try {
204- copyArtifacts(filter : " ${ currentBenchmarkResults} /*.xml " , flatten : true , optional : true , projectName : getBaselineJobName(), selector : lastWithArtifacts(), target : baseline)
204+ copyArtifacts(filter : " ${ currentBenchmarkResults} /*.json " , flatten : true , optional : true , projectName : getBaselineJobName(), selector : lastWithArtifacts(), target : baseline)
205205 } catch (e) {
206206 log(level : ' INFO' , text : ' gitHubCommentWithBenchmarkReport: it was not possible to copy the previous build.' )
207207 return
@@ -398,7 +398,7 @@ def prepareStack() {
398398}
399399
400400def stashBenchmarkResults () {
401- def wildcard = ' build/benchmark-results/*.xml '
401+ def wildcard = ' build/benchmark-results/*.json '
402402 r = sh(label : " isBenchmarkResultsPresent" , script : " ls ${ wildcard} " , returnStatus : true )
403403 if (r != 0 ) {
404404 echo " isBenchmarkResultsPresent: benchmark files not found, report won't be stashed"
0 commit comments