Skip to content

Commit 55f959c

Browse files
committed
fix report
1 parent 30e5d15 commit 55f959c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/helpers/reporterHTML.js

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
const axios = require('axios').default;
22

3+
const { isTurboScaleSession } = require('./atsHelper');
4+
35
const fs = require('fs'),
46
path = require('path'),
57
logger = require('./logger').winstonLogger,
@@ -20,6 +22,10 @@ let reportGenerator = async (bsConfig, buildId, args, rawArgs, buildReportData,
2022
},
2123
};
2224

25+
if (isTurboScaleSession(bsConfig)) {
26+
options.url = `${config.turboScaleBuildsUrl}/${buildId}/custom_report`;
27+
}
28+
2329
logger.debug('Started fetching the build json and html reports.');
2430

2531
let message = null;

0 commit comments

Comments
 (0)