From e695a6df23ebd73c0b397fb8057175ef928ddd36 Mon Sep 17 00:00:00 2001 From: Davis Goodin Date: Mon, 1 May 2017 13:35:13 -0500 Subject: [PATCH] Fix current publish build warnings (#11317) * Make VSTS Drop metadata distinct * Remove PublishLogs artifact publish: no matches --- buildpipeline/DotNet-Trusted-Publish.json | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/buildpipeline/DotNet-Trusted-Publish.json b/buildpipeline/DotNet-Trusted-Publish.json index 80e9f65..e26b9dc 100644 --- a/buildpipeline/DotNet-Trusted-Publish.json +++ b/buildpipeline/DotNet-Trusted-Publish.json @@ -277,7 +277,7 @@ "detailedLog": "false", "usePat": "false", "retentionDays": "", - "dropMetadataContainerName": "DropMetadata" + "dropMetadataContainerName": "Drop-OfficialBuildId" } }, { @@ -300,26 +300,7 @@ "detailedLog": "false", "usePat": "false", "retentionDays": "", - "dropMetadataContainerName": "DropMetadata" - } - }, - { - "enabled": true, - "continueOnError": false, - "alwaysRun": true, - "displayName": "Copy Publish Artifact: PublishLogs", - "timeoutInMinutes": 0, - "task": { - "id": "1d341bb0-2106-458c-8422-d00bcea6512a", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "CopyRoot": "", - "Contents": "$(Pipeline.SourcesDirectory)\\*.log", - "ArtifactName": "PublishLogs", - "ArtifactType": "Container", - "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)" + "dropMetadataContainerName": "Drop-BuildNumber" } }, { -- 2.7.4