File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
eng/pipelines/common/templates/jobs Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 28
28
- script : SET
29
29
displayName : ' Print Environment Variables'
30
30
31
+ - powershell : |
32
+ Write-Host "##vso[task.setvariable variable=CDP_BUILD_TYPE_COPY;isOutput=true]$($env:CDP_BUILD_TYPE)"
33
+ name: GetBuildType
34
+
31
35
- template : ../steps/build-all-configurations-signed-dlls-step.yml@self
32
36
33
37
- template : ../steps/code-analyze-step.yml@self
Original file line number Diff line number Diff line change @@ -54,12 +54,15 @@ jobs:
54
54
- name : pathToDownloadedNuget # path to the downloaded nuget files
55
55
value : $(Pipeline.Workspace)\${{parameters.packageFolderName }}
56
56
57
+ - name : BuildType
58
+ value : $[ stageDependencies.buildMDS.build_signed_package.outputs['GetBuildType.CDP_BUILD_TYPE_COPY'] ]
59
+
57
60
steps :
58
61
- script : SET
59
62
displayName : ' Print Environment Variables'
60
63
61
64
- task : NuGetToolInstaller@1
62
- displayName : ' Use NuGet '
65
+ displayName : ' Use NuGet'
63
66
64
67
- powershell : |
65
68
#Sets Variables for AssemblyFileVersion, AssemblyVersion and NugetPackageVersion
@@ -111,7 +114,9 @@ jobs:
111
114
displayName: 'Verify nuget signature'
112
115
113
116
- powershell : |
114
- if($env:CDP_BUILD_TYPE -eq 'Official')
117
+ $buildType = [string]"$(BuildType)"
118
+
119
+ if($buildType -eq 'Official')
115
120
{
116
121
# Recursively find all .dll files in TempFolder (installed nuget folder)
117
122
# Microsoft.Data.SqlClient.dll and Microsoft.Data.SqlClient.resources.dll (in localized folders) should have strong name
You can’t perform that action at this time.
0 commit comments