Skip to content

Commit f7182c5

Browse files
committed
Merge pull request #14 from browserstack/tunnel_id_fix
Give priority to TRAVIS_JOB_ID for tunnel identifier
2 parents ebb2609 + d1ee4af commit f7182c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if (!fs.existsSync(config.test_path)){
6161
process.exit(1);
6262
}
6363

64-
config.tunnelIdentifier = process.env.TUNNEL_ID || process.env.TRAVIS_BUILD_ID;
64+
config.tunnelIdentifier = process.env.TUNNEL_ID || process.env.TRAVIS_JOB_ID || process.env.TRAVIS_BUILD_ID;
6565

6666
for (key in config) {
6767
if (config.hasOwnProperty(key)) {

0 commit comments

Comments
 (0)