Fix current publish build warnings (#11317)
authorDavis Goodin <dagood@users.noreply.github.com>
Mon, 1 May 2017 18:35:13 +0000 (13:35 -0500)
committerGitHub <noreply@github.com>
Mon, 1 May 2017 18:35:13 +0000 (13:35 -0500)
* Make VSTS Drop metadata distinct

* Remove PublishLogs artifact publish: no matches

buildpipeline/DotNet-Trusted-Publish.json

index 80e9f65..e26b9dc 100644 (file)
         "detailedLog": "false",
         "usePat": "false",
         "retentionDays": "",
-        "dropMetadataContainerName": "DropMetadata"
+        "dropMetadataContainerName": "Drop-OfficialBuildId"
       }
     },
     {
         "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"
       }
     },
     {