Skip to content

Commit 1e740c7

Browse files
committed
Update offical pipeline
1 parent 6096e40 commit 1e740c7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

eng/pipelines/official.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ parameters:
111111
- name: VisualStudioMinimumVersion
112112
displayName: Visual Studio Minimum Version
113113
type: string
114-
default: '18'
114+
default: '17'
115115

116116
###################################################################################################################################################################
117117
# STAGES

eng/pipelines/templates/build-official-release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,13 @@ jobs:
139139
inputs:
140140
forceReinstallCredentialProvider: true
141141

142+
# Sets the VisualStudioMinimumVersion variable for the job. This variable is also used by the APIScan job.
143+
# https://docs.microsoft.com/azure/devops/pipelines/process/set-variables-scripts?view=azure-devops&tabs=powershell#set-variable-properties
144+
- powershell: Write-Host "##vso[task.setvariable variable=VisualStudioMinimumVersion;isoutput=true]$(VisualStudioMinimumVersion))"
145+
displayName: Set VisualStudioMinimumVersion Variable
146+
# Name is required to reference the variables created within this build step in other stages.
147+
name: SetVisualStudioMinimumVersionVariable
148+
142149
# Runs the full build of the projects in the repository. See Build.proj for details.
143150
- script: $(Build.SourcesDirectory)/build.cmd /v:normal /p:Configuration=$(BuildConfiguration) /p:CIBuild=true
144151
displayName: Build All Projects
@@ -172,13 +179,6 @@ jobs:
172179
- task: MicroBuildSwixPlugin@4
173180
displayName: Install Swix Plugin
174181

175-
# Sets the VisualStudioMinimumVersion variable for the job. This variable is also used by the APIScan job.
176-
# https://docs.microsoft.com/azure/devops/pipelines/process/set-variables-scripts?view=azure-devops&tabs=powershell#set-variable-properties
177-
- powershell: Write-Host "##vso[task.setvariable variable=VisualStudioMinimumVersion;isoutput=true]$(. '$(Build.SourcesDirectory)/eng/scripts/GetVisualStudioMinimumVersion.ps1')"
178-
displayName: Set VisualStudioMinimumVersion Variable
179-
# Name is required to reference the variables created within this build step in other stages.
180-
name: SetVisualStudioMinimumVersionVariable
181-
182182
# Creates the VS bootstrapper information based on the build's .vsman file.
183183
# This bootstrapper information is only used for OptProf currently.
184184
# Since this data will be output with rest of our insertion files, we produce this data now and publish it in the build artifacts.

0 commit comments

Comments
 (0)