Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-08-30 16:30:51 +0300
committerGitHub <noreply@github.com>2021-08-30 16:30:51 +0300
commita7e64b5a4f1b78c2a843c22ddb9bd427b45557cf (patch)
tree7b17340b185a047bfe4b408f74d2b51082121d43 /js
parent2a0f7078d4381f1fd4fd30e512c5ca8882d5362b (diff)
Add GitHub SHA in BrowserStack build ID. (#34077)
Diffstat (limited to 'js')
-rw-r--r--js/tests/karma.conf.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js
index 67b60f15ee..1d4b0d3e4d 100644
--- a/js/tests/karma.conf.js
+++ b/js/tests/karma.conf.js
@@ -108,7 +108,7 @@ if (BROWSERSTACK) {
conf.browserStack = {
username: ENV.BROWSER_STACK_USERNAME,
accessKey: ENV.BROWSER_STACK_ACCESS_KEY,
- build: `bootstrap-${new Date().toISOString()}`,
+ build: `bootstrap-${ENV.GITHUB_SHA ? ENV.GITHUB_SHA.slice(0, 7) + '-' : ''}${new Date().toISOString()}`,
project: 'Bootstrap',
retryLimit: 2
}