You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifies the path to the folder location in which to download artifacts. A separate subdirectory is generated in this location for each suite for which artifacts are downloaded. Must be set in conjunction with `--artifacts.download.match` and `--artifacts.download.when`.
174
219
@@ -223,9 +268,9 @@ Allows you to launch tests without waiting for results of the preceding tests. T
Associates the tests with a build to support easy filtering of related test results in the Sauce Labs UI. This option is not yet supported for mobile real device tests.
273
+
Associates the tests with a build to support easy filtering of related test results in the Sauce Labs UI.
229
274
230
275
```bash
231
276
saucectl run --build myBuildID
@@ -371,10 +416,25 @@ Usage information for the `run` command.
371
416
372
417
</div>
373
418
419
+
### <spanclassName="cli">--launch-order</span>
420
+
421
+
<divclassName="cli-desc">
422
+
<p><small>| OPTIONAL | STRING |</small></p>
423
+
424
+
Modify the execution order of suites.
425
+
426
+
Supported value `fail rate`: Jobs with the highest failure rate are prioritized for launch.
Toggles saucectl's own junit reporting on/off. This only affects the reports that saucectl itself generates as a summary of your tests. Each Job in Sauce Labs has an independent report regardless.
Sets the report filename, with the default being `saucectl-report.xml`.
549
+
550
+
To use this option, make sure to activate the JUnit reporter by including `--reporters.junit.enabled=true`.
551
+
552
+
```bash
553
+
saucectl run --reporters.junit.enabled=true --reporters.junit.filename="path/to/my_report.xml"
554
+
```
555
+
556
+
</div>
557
+
415
558
### <spanclassName="cli">--retries</span>
416
559
417
560
<divclassName="cli-desc">
418
-
<p><small>| REQUIRED | INTEGER |</small></p>
561
+
<p><small>| OPTIONAL | INTEGER |</small></p>
419
562
420
563
Instructs `saucectl` to rerun failed tests this many times.
421
564
@@ -425,6 +568,32 @@ saucectl run --retries 2
425
568
426
569
</div>
427
570
571
+
### <spanclassName="cli">--root-dir</span>
572
+
573
+
<divclassName="cli-desc">
574
+
<p><small>| OPTIONAL | FILEPATH |</small></p>
575
+
576
+
Specifies the project directory. Not applicable to mobile frameworks. Default: `.`.
577
+
578
+
```bash
579
+
saucectl run --root-dir="path/to/my/root_dir"
580
+
```
581
+
582
+
</div>
583
+
584
+
### <spanclassName="cli">--sauceignore</span>
585
+
586
+
<divclassName="cli-desc">
587
+
<p><small>| OPTIONAL | FILEPATH |</small></p>
588
+
589
+
Specifies the path to the .sauceignore file. Default: `.sauceignore`.
590
+
591
+
```bash
592
+
saucectl run --sauceignore="path/to/my/.sauceignore"
593
+
```
594
+
595
+
</div>
596
+
428
597
### <spanclassName="cli">--select-suite</span>
429
598
430
599
<divclassName="cli-desc">
@@ -458,9 +627,9 @@ saucectl run --show-console-log
458
627
### <spanclassName="cli">--tags</span>
459
628
460
629
<divclassName="cli-desc">
461
-
<p><small>| OPTIONAL | LIST | <spanclassName="sauceGreen">VDC Only</span> |</small></p>
630
+
<p><small>| OPTIONAL | LIST |</small></p>
462
631
463
-
A keyword that may help you distinguish the test in Sauce Labs, and also helps you apply filters to easily isolate tests based on metrics that are meaningful to you. This option is not yet supported for mobile real device tests.
632
+
Keywords that may help you distinguish the test in Sauce Labs, and also help you apply filters to easily isolate tests based on metrics that are meaningful to you.
464
633
465
634
```bash
466
635
saucectl run --tags e2e,team2
@@ -486,16 +655,16 @@ saucectl run --timeout 30m
486
655
487
656
</div>
488
657
489
-
### <spanclassName="cli">--uploadTimeout</span>
658
+
### <spanclassName="cli">--upload-timeout</span>
490
659
491
660
<divclassName="cli-desc">
492
661
<p><small>| OPTIONAL | DURATION |</small></p>
493
662
494
-
Upload timeout that limits how long saucectl will wait for an upload to finish. Supports duration values like '10s' '30m' etc. (default: 5m)
663
+
Uploads timeout that limits how long saucectl will wait for an upload to finish. Supports duration values like '10s' '30m' etc. (default: 5m)
495
664
496
665
```bash
497
-
saucectl run --uploadTimeout 10s
498
-
saucectl run --uploadTimeout 30m
666
+
saucectl run --upload-timeout 10s
667
+
saucectl run --upload-timeout 30m
499
668
```
500
669
501
670
</div>
@@ -505,7 +674,7 @@ saucectl run --uploadTimeout 30m
505
674
<divclassName="cli-desc">
506
675
<p><small>| OPTIONAL | STRING |</small></p>
507
676
508
-
Specifies an active [Sauce Connect](/secure-connections/sauce-connect/proxy-tunnels/) tunnel to establish a secure connection to run this test on Sauce Labs.
677
+
Specifies an active [Sauce Connect](/secure-connections) tunnel to establish a secure connection to run this test on Sauce Labs.
509
678
510
679
:::note
511
680
Replaces the former `--tunnel_id` option, which is deprecated.
Copy file name to clipboardexpand all lines: docs/dev/cli/saucectl/usage/ci/azure.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@ These examples can apply to virtually any Azure DevOps deployment, provided that
21
21
To run tests on Sauce Labs from Azure DevOps, you need to make your Sauce Labs credentials available to your Pipelines. We'll set a secret variable in the UI.
22
22
23
23
1. Log in to Azure DevOps.
24
-
1. Go to the **Pipelines** page, select a pipeline, then **Edit**.
25
-
1. Click on **Variables**, then **New Variable**.
26
-
1. Enter the name `sauceUsername` and set the value to your Sauce Labs username and click **OK**.
27
-
1. Add another variable, this time named `sauceAccessKey`, set it to your Sauce Labs access key, select the `Keep this value secret` option, and click **OK**.
28
-
1. Click **Save**.
24
+
2. Go to the **Pipelines** page, select a pipeline, then **Edit**.
25
+
3. Click on **Variables**, then **New Variable**.
26
+
4. Enter the name `sauceUsername` and set the value to your Sauce Labs username and click **OK**.
27
+
5. Add another variable, this time named `sauceAccessKey`, set it to your Sauce Labs access key, select the `Keep this value secret` option, and click **OK**.
0 commit comments