Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Permit overriding name, build, and project on a per-browser basis. #91

Merged
merged 1 commit into from
Jan 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ module.exports = function(config) {
- `browser_version` version of the browser
- `os` which platform ?
- `os_version` version of the platform
- `build` the BS worker build name (optional, defaults to global)
- `name` the BS worker name (optional, defaults to global)
- `project` the BS worker project name (optional, defaults to global)

### BrowserStack reporter

Expand Down
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ var BrowserStackBrowser = function (
url: url + '?id=' + id,
'browserstack.tunnel': true,
timeout: bsConfig.timeout || 300,
project: bsConfig.project,
name: bsConfig.name || 'Karma test',
build: bsConfig.build ||
project: args.project || bsConfig.project,
name: args.name || bsConfig.name || 'Karma test',
build: args.build || bsConfig.build ||
process.env.BUILD_NUMBER ||
process.env.BUILD_TAG ||
process.env.CI_BUILD_NUMBER ||
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"eslint-config-standard": "^4.0.0",
"eslint-plugin-standard": "^1.2.0",
"grunt": "~0.4.5",
"grunt-auto-release": "~0.0.2",
"grunt-auto-release": "0.0.6",
"grunt-bump": "~0.5.0",
"grunt-conventional-changelog": "^4.1.0",
"grunt-conventional-github-releaser": "^0.4.0",
Expand Down