devops: custom blob report name for test runner tests (#29280)

Otherwise uploaded reports all have clashing names report-1.zip and
report-2.zip.
This commit is contained in:
Yury Semikhatsky 2024-02-01 09:17:48 -08:00 committed by GitHub
parent cf6549687c
commit a89dbe3813
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ const reporters = () => {
const result: ReporterDescription[] = process.env.CI ? [ const result: ReporterDescription[] = process.env.CI ? [
['dot'], ['dot'],
['json', { outputFile: path.join(outputDir, 'report.json') }], ['json', { outputFile: path.join(outputDir, 'report.json') }],
['blob', { outputDir: path.join(__dirname, '..', '..', 'blob-report') }], ['blob', { outputDir: path.join(__dirname, '..', '..', 'blob-report'), fileName: `${process.env.PWTEST_BOT_NAME}.zip` }],
] : [ ] : [
['list'] ['list']
]; ];