From a0a6844e0b4972db89a9b39e7210df82cab39eb0 Mon Sep 17 00:00:00 2001 From: Christopher Costa Date: Mon, 28 Jan 2019 10:32:29 -0800 Subject: [PATCH] Differentiate manifests --- eng/Publishing.props | 11 ++++++----- eng/dockerrun.sh | 2 ++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/eng/Publishing.props b/eng/Publishing.props index 12ede2957..582fb2be8 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -24,11 +24,12 @@ - $(AGENT_OS)-$(PlatformName) - $(OS)-$(PlatformName) - $(AssetManifestFileName)-$(Rid) - $(AssetManifestFileName)-$(Architecture) + that exists in the container. Disambiguate the manifests via available properties. + AGENT_OS and AGENT_JOBNAME are present on Azure DevOps agents --> + $(AGENT_OS) + $(OS) + $(AssetManifestFileName)-$(AGENT_JOBNAME) + $(AssetManifestFileName)-$(Architecture) $(AssetManifestFileName)-checksums $(ArtifactsLogDir)AssetManifest\$(AssetManifestFileName).xml diff --git a/eng/dockerrun.sh b/eng/dockerrun.sh index 6a3634bc5..15ecbffe3 100755 --- a/eng/dockerrun.sh +++ b/eng/dockerrun.sh @@ -148,5 +148,7 @@ docker run $INTERACTIVE -t --rm --sig-proxy=true \ -e BUILD_SOURCEBRANCH \ -e BUILD_BUILDNUMBER \ -e BUILD_SOURCEVERSION \ + -e AGENT_JOBNAME \ + -e AGENT_OS \ $DOTNET_BUILD_CONTAINER_TAG \ $BUILD_COMMAND "$@"