Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inject pipline url to RESOURCE_URIS #4752

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
5 changes: 5 additions & 0 deletions src/Agent.Worker/TestResults/Utils/TestResultUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ private static string[] GetResourceUris(IExecutionContext executionContext)
{
resourceUris = resourceUrisEnvVar.Split(',');
}

if (resourceUris.Length == 0)
{
resourceUris = new string[] { GetPipelinesUrl(executionContext) };
}
}
catch (Exception ex)
{
Expand Down
Loading