summaryrefslogtreecommitdiff
path: root/buildpipeline/DotNet-Trusted-Publish.json
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2017-06-13 09:47:36 (GMT)
committerJiyoung Yun <jy910.yun@samsung.com>2017-06-13 09:47:36 (GMT)
commit61d6a817e39d3bae0f47dbc09838d51db22a5d30 (patch)
treecb37caa1784bc738b976273335d6ed04a7cc80b0 /buildpipeline/DotNet-Trusted-Publish.json
parent5b975f8233e8c8d17b215372f89ca713b45d6a0b (diff)
downloadcoreclr-61d6a817e39d3bae0f47dbc09838d51db22a5d30.zip
coreclr-61d6a817e39d3bae0f47dbc09838d51db22a5d30.tar.gz
coreclr-61d6a817e39d3bae0f47dbc09838d51db22a5d30.tar.bz2
Imported Upstream version 2.0.0.11992upstream/2.0.0.11992
Diffstat (limited to 'buildpipeline/DotNet-Trusted-Publish.json')
-rw-r--r--buildpipeline/DotNet-Trusted-Publish.json25
1 files changed, 3 insertions, 22 deletions
diff --git a/buildpipeline/DotNet-Trusted-Publish.json b/buildpipeline/DotNet-Trusted-Publish.json
index 80e9f65..fc4d9d0 100644
--- a/buildpipeline/DotNet-Trusted-Publish.json
+++ b/buildpipeline/DotNet-Trusted-Publish.json
@@ -172,7 +172,7 @@
"scriptType": "inlineScript",
"scriptName": "",
"arguments": "$(MyGetApiKey) $(ConfigurationGroup)",
- "inlineScript": "param($ApiKey, $ConfigurationGroup)\nif ($ConfigurationGroup -ne \"Release\") { exit }\n& $env:CustomNuGetPath push $env:Build_StagingDirectory\\IndexedSymbolPackages\\*.nupkg $ApiKey -Source $env:MyGetFeedUrl -Timeout 3600",
+ "inlineScript": "param($ApiKey, $ConfigurationGroup)\nif ($ConfigurationGroup -ne \"Release\") { exit }\nif ($env:SourceBranch.StartsWith(\"release/\")) { exit }\n& $env:CustomNuGetPath push $env:Build_StagingDirectory\\IndexedSymbolPackages\\*.nupkg $ApiKey -Source $env:MyGetFeedUrl -Timeout 3600",
"workingFolder": "",
"failOnStandardError": "true"
}
@@ -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"
}
},
{