File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 33 include :
44 - main
55
6- resources :
7- containers :
8- - container : windows
9- image : nventive/vs_build-tools:17.2.5
10-
116variables :
127- name : NUGET_VERSION
138 value : 6.2.0
@@ -17,6 +12,8 @@ variables:
1712 value : Packages
1813- name : SolutionFileName # Example: MyApplication.sln
1914 value : GeolocatorService.sln
15+ - name : windowsHostedAgentImage
16+ value : ' windows-2022'
2017
2118stages :
2219- stage : Build
@@ -31,7 +28,7 @@ stages:
3128 GeneratePackageOnBuild : true
3229
3330 pool :
34- name : ' windows 2022 '
31+ name : $(windowsHostedAgentImage)
3532
3633 variables :
3734 - name : PackageOutputPath # Path where nuget packages will be copied to.
@@ -52,7 +49,7 @@ stages:
5249 - job : Publish_NuGet_Internal
5350
5451 pool :
55- name : ' windows 2022 '
52+ name : $(windowsHostedAgentImage)
5653
5754 workspace :
5855 clean : all # Cleanup the workspaca before starting
You can’t perform that action at this time.
0 commit comments