diff --git a/index.js b/index.js index 871e748..1da6d5c 100644 --- a/index.js +++ b/index.js @@ -275,6 +275,7 @@ module.exports = (config) => { runId = config.runId; } else { const res = await _addTestRun(config.projectId, suiteId, runName); + process.env.TESTRAIL_RUN_URL = res.url; runId = res.id; }