Version 2.4.8
HyperExecute: Set Dynamic Email Address for Report Sharing
HyperExecute CLI added an enhancement in the --vars
flag providing greater flexibility in specifying email addresses for report and artifact sharing. You can now use a variable to dynamically set the email address used to share reports or artifacts. This gives you more flexibility than hardcoding the email address in the YAML configuration file.
hyperexecute.yaml
partialReports:
location: target/surefire-reports/html
type: html
frameworkName: extent
email:
to:
- "${email}"
- "${email1}"
Pass the value of your email address via CLI by running the command
./hyperexecute --vars "email=xyz@abc.com" --vars "email1=abc@xyz.com"
📕 Read the documentation - How to dynamically set your email address? to learn more about it.