HyperExecute CLI added an enhancement to the --vars
flag providing greater flexibility in specifying email addresses for report and artefact sharing. You can now use a variable to dynamically set the email address used to share reports or artefacts. This gives you more flexibility than hardcoding the email address in the YAML configuration file.
report: true partialReports: location: target/surefire-reports/html type: html frameworkName: extent email: to: - "${email}" - "${email1}" uploadArtifacts: - name: Reports 1 path: - ProtractorTestReport.html email: to: - "${email}" - "${email1}"
This is how you can 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.