I created a release pipeline in Azure DevOps to run my Cypress tests. Currently it hae the following tasks:
- Use Node (Node.js tool installer)
- Install Dependencies (nmp)
- Run Tests (npm)
- Publish Test Results (test result format JUnit)
- Send Email (powershell script)
my challange is - how to send TestResults_runId.zip as an $Attachment using my pwershell script ? test results where number is generetated Id