Skip to content

Commit

Permalink
Merge pull request #9 from Az8th/main
Browse files Browse the repository at this point in the history
docs: Added Azure DevOps linkToResults example
  • Loading branch information
estruyf authored Jul 25, 2024
2 parents f359d5d + 676fec4 commit 86606f5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,20 @@ The format can be either the full name and email (`"Full name <email>"`) or just

With the `linkToResultsUrl` option, you can provide a link to the test results. For example, you can view the test results on your CI/CD platform.

#### Github
```javascript
{
// The link to your GitHub Actions workflow run
linkToResultsUrl: `${process.env.GITHUB_SERVER_URL}/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`,
}
```
#### Azure Devops
```javascript
{
// The link to your Azure DevOps pipeline run (add &view=artifacts&type=publishedArtifacts to access linked artifacts directly)
linkToResultsUrl: `${process.env.AZDO_SERVER_URL}/${process.env.AZDO_COLLECTION}/${process.env.AZDO_PROJECT}/_build/results?buildId=${process.env.AZDO_RUN_ID}`,
}
```

<br />

Expand Down

0 comments on commit 86606f5

Please sign in to comment.