Skip to content

Commit 34983b0

Browse files
committed
Update readme with the build-stop command example
1 parent 7d937e4 commit 34983b0

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

README.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ Output :
102102
In case you want to get information on the build you can use the following command
103103

104104
```bash
105-
browserstack-cypress build <buildId>
105+
browserstack-cypress build-info <buildId>
106106
```
107107

108108
Example
109109

110110
```bash
111-
browserstack-cypress build 06f28ce423d10314b32e98bb6f68e10b0d02a49a
111+
browserstack-cypress build-info 06f28ce423d10314b32e98bb6f68e10b0d02a49a
112112
```
113113

114114
Output:
@@ -175,6 +175,30 @@ Output:
175175

176176
**Note** that individual version represents a session. It is advised to validate your account's parallel before running multiple versions.
177177

178+
### Stopping a running build
179+
In case you want to stop a running build, you can use the following command
180+
181+
```bash
182+
browserstack-cypress build-stop <buildId>
183+
```
184+
185+
Example
186+
187+
```bash
188+
browserstack-cypress build-stop 06f28ce423d10314b32e98bb6f68e10b0d02a49a
189+
```
190+
191+
Output:
192+
193+
```bash
194+
[3/24/2020, 2:31:11 PM] Stopping build with given buildId 06f28ce423d10314b32e98bb6f68e10b0d02a49a
195+
[3/24/2020, 2:31:12 PM] Reading config from /browserstack.json
196+
[3/24/2020, 2:31:14 PM] {
197+
"message": "stopped 1 sessions",
198+
"stopped_session_count": 1
199+
}
200+
```
201+
178202
### Limitations
179203

180204
- `exec` and `task` are not allowed.

0 commit comments

Comments
 (0)