Open madhuv-msft opened 5 years ago
As per the code, uri should not be computed. it should be taken from labels. https://github.com/Microsoft/azure-pipelines-tasks/blob/3d08e79a83e16610b0f4e9531e74dbe5391255b1/Tasks/Common/docker-common/pipelineutils.ts#L28
addLabel(hostName, "build.builduri", "BUILD_BUILDURI", labels);
we are doing the following https://github.com/Microsoft/azpipelines-kubernetesUI/blob/2af2af8a5a0e95d7afd88ce18d18ac69b160d207/src/WebUI/ImageDetails/ImageDetails.tsx#L367
return format("{0}{1}/_build?buildId={2}", teamFoundationCollectionUri, teamProject, runId.toString());
please note we should not completely rely on builduri, we should also see releaseuri also. just in case if the image is built from the release.
As per the code, uri should not be computed. it should be taken from labels. https://github.com/Microsoft/azure-pipelines-tasks/blob/3d08e79a83e16610b0f4e9531e74dbe5391255b1/Tasks/Common/docker-common/pipelineutils.ts#L28
addLabel(hostName, "build.builduri", "BUILD_BUILDURI", labels);
we are doing the following https://github.com/Microsoft/azpipelines-kubernetesUI/blob/2af2af8a5a0e95d7afd88ce18d18ac69b160d207/src/WebUI/ImageDetails/ImageDetails.tsx#L367
return format("{0}{1}/_build?buildId={2}", teamFoundationCollectionUri, teamProject, runId.toString());