1
1
trigger : none
2
2
3
3
variables :
4
- AuthenticodeSignType : ' 400'
5
- BuildConfiguration : ' Release'
6
- NuGetPackagePath : ' $(System.ArtifactsDirectory)/NuGetRelease'
7
- PackageRoot : ' $(System.ArtifactsDirectory)/Packages'
4
+ - name : BuildConfiguration
5
+ value : ' Release'
6
+ - name : NuGetPackagePath
7
+ value : ' $(System.ArtifactsDirectory)/NuGetRelease'
8
+ - name : PackageRoot
9
+ value : ' $(System.ArtifactsDirectory)/Packages'
10
+ - group : PSNativeAPIScan
8
11
9
12
resources :
10
13
repositories :
@@ -36,7 +39,11 @@ stages:
36
39
- template : windows-build.yml
37
40
38
41
- job : SignWin
39
- pool : Package ES Standard Build
42
+ pool :
43
+ name : PowerShell1ES
44
+ demands :
45
+ - ImageOverride -equals MMS2019
46
+
40
47
displayName : Sign Windows
41
48
variables :
42
49
- group : ESRP
@@ -84,7 +91,10 @@ stages:
84
91
- SignWin
85
92
- BuildLinux
86
93
- BuildMac
87
- pool : Package ES Standard Build
94
+ pool :
95
+ name : PowerShell1ES
96
+ demands :
97
+ - ImageOverride -equals MMS2019
88
98
variables :
89
99
- group : ESRP
90
100
@@ -97,7 +107,9 @@ stages:
97
107
jobs :
98
108
- job : Compliance_Job
99
109
pool :
100
- name : Package ES Standard Build
110
+ name : PowerShell1ES
111
+ demands :
112
+ - ImageOverride -equals MMS2019
101
113
steps :
102
114
- checkout : self
103
115
clean : true
@@ -166,6 +178,7 @@ stages:
166
178
softwareName : ' PowerShellNative'
167
179
softwareNameFolder : ' $(Pipeline.Workspace)/uncompressed'
168
180
softwareVersion : ' $(PackageVersion)'
181
+ connectionString : RunAs=App;AppId=$(APIScanClient);TenantId=$(APIScanTenant);AppKey=$(APIScanSecret)
169
182
APIScan : true # set to false when not using Windows APIs.
170
183
171
184
- template : publish.yml
0 commit comments