Skip to content

Commit d7ecf03

Browse files
committed
f
1 parent d26a2c9 commit d7ecf03

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

build/azure-pipelines.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
include:
44
- main
55

6-
resources:
7-
containers:
8-
- container: windows
9-
image: nventive/vs_build-tools:17.2.5
10-
116
variables:
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

2118
stages:
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

0 commit comments

Comments
 (0)