build: ensure tunnel identifiers are unique (#14108)

* Currently it can happen that our tunnel identifier conflicts with other tunnel identifiers from other Angular projects. A few PRs reported that their tunnel couldn't be re-opened because it was already used and closed successfully.
This commit is contained in:
Paul Gschwendtner
2018-11-14 23:19:22 +01:00
committed by Andrew Seguin
parent cb57c6c6bf
commit 039ca606c8
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ rm ${tunnelFileName}
ARGS=""
if [ ! -z "${CIRCLE_BUILD_NUM}" ]; then
ARGS="${ARGS} --local-identifier ${CIRCLE_BUILD_NUM}-${CIRCLE_NODE_INDEX}"
ARGS="${ARGS} --local-identifier angular-material-${CIRCLE_BUILD_NUM}-${CIRCLE_NODE_INDEX}"
fi
echo "Starting Browserstack Local in the background, logging into: ${tunnelLogFile}"