File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 3939 name: GetBuildType
4040
4141 - template : ../steps/build-all-configurations-signed-dlls-step.yml@self
42+ parameters :
43+ buildConfiguration : Release
4244
4345 - template : ../steps/code-analyze-step.yml@self
4446 parameters :
5052
5153 - template : ../steps/generate-nuget-package-step.yml@self
5254 parameters :
55+ buildConfiguration : Release
5356 OutputDirectory : $(artifactDirectory)
5457
5558 - template : ../steps/esrp-code-signing-step.yml@self
@@ -58,11 +61,12 @@ jobs:
5861
5962 - template : ../steps/copy-dlls-for-test-step.yml@self
6063 parameters :
64+ buildConfiguration : Release
6165 product : MDS
6266
6367 # Publish symbols to servers
6468 - template : ../steps/publish-symbols-step.yml@self
6569 parameters :
70+ buildConfiguration : Release
6671 publishSymbols : ${{ parameters['PublishSymbols'] }}
6772 symbolsArtifactName : mds_symbols_$(System.TeamProject)_$(Build.Repository.Name)_$(Build.SourceBranchName)_$(NuGetPackageVersion)_$(System.TimelineId)
68- buildConfiguration : Release
Original file line number Diff line number Diff line change @@ -66,12 +66,14 @@ jobs:
6666 - template : ../steps/build-and-run-tests-netfx-step.yml
6767 parameters :
6868 referenceType : Package
69+ buildConfiguration : Release
6970 ${{ if parameters.isPreview }} :
7071 nugetPackageVersion : $(PreviewNugetPackageVersion)
7172
7273 - template : ../steps/build-and-run-tests-netcore-step.yml
7374 parameters :
7475 referenceType : Package
76+ buildConfiguration : Release
7577 cleanFirst : true
7678 ${{ if parameters.isPreview }} :
7779 nugetPackageVersion : $(PreviewNugetPackageVersion)
Original file line number Diff line number Diff line change @@ -11,9 +11,14 @@ parameters:
1111 - name : artifactName
1212 type : string
1313 default : Artifacts
14+
15+ - name : buildConfiguration
16+ type : string
17+ values :
18+ - Debug
19+ - Release
1420
1521 - name : buildType
16- displayName : ' Build Type'
1722 default : Project
1823 values :
1924 - Project
5560 - template : ci-project-build-step.yml@self
5661 parameters :
5762 build : allNoDocs
63+ buildConfiguration : ${{ parameters.buildConfiguration }}
Original file line number Diff line number Diff line change @@ -138,13 +138,15 @@ stages:
138138 debug : ${{ parameters.debug }}
139139 artifactName : $(artifactName)
140140 buildType : ${{ parameters.buildType }}
141+ buildConfiguration : ${{ parameters.buildConfiguration }}
141142 ${{else}} :
142143 prebuildSteps : # steps to run prior to building and running tests on each job
143144 - template : common/templates/steps/ci-prebuild-step.yml@self
144145 parameters :
145146 debug : ${{ parameters.debug }}
146147 artifactName : $(artifactName)
147148 buildType : ${{ parameters.buildType }}
149+ buildConfiguration : ${{ parameters.buildConfiguration }}
148150
149151 ${{ if eq(parameters.buildType, 'Project') }} : # only run the code coverage job if the build type is project
150152 postTestJobs : # jobs to run after the tests are done
You can’t perform that action at this time.
0 commit comments