browserstack-cypress-cli 1.36.13 → 1.36.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/commands/runs.js
CHANGED
|
@@ -347,6 +347,8 @@ module.exports = function run(args, rawArgs) {
|
|
|
347
347
|
utils.setProcessHooks(data.build_id, bsConfig, bs_local, args, buildReportData);
|
|
348
348
|
if(isTestObservabilitySession) {
|
|
349
349
|
utils.setO11yProcessHooks(data.build_id, bsConfig, bs_local, args, buildReportData);
|
|
350
|
+
// OB-10135: read by stopBuildUpstream in testObservability/helper/helper.js
|
|
351
|
+
process.env.BROWSERSTACK_AUTOMATION_BUILD_ID = data.build_id;
|
|
350
352
|
}
|
|
351
353
|
let message = `${data.message}! ${Constants.userMessages.BUILD_CREATED} with build id: ${data.build_id}`;
|
|
352
354
|
let dashboardLink = `${Constants.userMessages.VISIT_DASHBOARD} ${data.dashboard_url}`;
|
|
@@ -684,7 +684,9 @@ exports.stopBuildUpstream = async () => {
|
|
|
684
684
|
};
|
|
685
685
|
} else {
|
|
686
686
|
const data = {
|
|
687
|
-
'stop_time': (new Date()).toISOString()
|
|
687
|
+
'stop_time': (new Date()).toISOString(),
|
|
688
|
+
// OB-10135: cached in bin/commands/runs.js at build-create
|
|
689
|
+
'automate_build_id': process.env.BROWSERSTACK_AUTOMATION_BUILD_ID
|
|
688
690
|
};
|
|
689
691
|
const config = {
|
|
690
692
|
headers: {
|