Skip to content

Commit 732c54c

Browse files
authored
Merge pull request LambdaTest#965 from Aman1905/stage
updted the hyperexecute-email-reports
2 parents ed848fb + 64bd048 commit 732c54c

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docs/hyperexecute-email-reports.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,38 @@ This is how you can pass the value of your email address via CLI by running the
185185
./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE --vars "[email protected]" --vars "[email protected]"
186186
```
187187

188+
:::note
189+
If you have a pipeline that requires multiple email values, consider consolidating them into a single variable separated by commas. This approach eliminates the need for multiple variables or manual pipeline edits whenever the email list changes.
190+
191+
```yaml title="hyperexecute.yaml"
192+
report: true
193+
partialReports:
194+
location: target/surefire-reports/html
195+
type: html
196+
frameworkName: extent
197+
# highlight-start
198+
email:
199+
to:
200+
- "${email}"
201+
# highlight-end
202+
203+
uploadArtifacts:
204+
- name: Reports 1
205+
path:
206+
- ProtractorTestReport.html
207+
# highlight-start
208+
email:
209+
to:
210+
- "${email}"
211+
# highlight-end
212+
```
213+
214+
```bash
215+
./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE --vars "[email protected],[email protected],[email protected]"
216+
```
217+
:::
218+
219+
188220
<nav aria-label="breadcrumbs">
189221
<ul className="breadcrumbs">
190222
<li className="breadcrumbs__item">

0 commit comments

Comments
 (0)