From 676fec4865775bea9621375c7072d880cb0f1d83 Mon Sep 17 00:00:00 2001 From: Christophe Chauvot <24222857+Az8th@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:29:20 +0200 Subject: [PATCH] docs: Added Azure DevOps linkToResults example --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 54158e7..57c2ac6 100644 --- a/README.md +++ b/README.md @@ -128,12 +128,20 @@ The format can be either the full name and email (`"Full name "`) 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}`, +} +```