@@ -10,10 +10,10 @@ extends:
1010 template : v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
1111 parameters :
1212 sdl :
13+ binskim :
14+ break : true
1315 policheck :
1416 enabled : true
15- codeSignValidation :
16- enabled : true
1717 codeql :
1818 ${{ if eq(variables['Build.SourceBranch'], variables['AllowedBranch']) }} :
1919 enabledOnNonDefaultBranches : true
@@ -33,19 +33,25 @@ extends:
3333 Release :
3434 BuildConfiguration : ' Release'
3535 templateContext :
36+ sdl :
37+ ${{ if eq(variables['BuildConfiguration'], 'Release') }} :
38+ codeSignValidation :
39+ additionalTargetsGlobPattern : -|**\.playwright\**;-|**PowerAppsTestEngineWrapper\playwright.ps1;-|**PowerAppsTestEngineWrapper\JS\**
40+ enabled : true
41+ break : true
42+
43+ ${{ if ne(variables['BuildConfiguration'], 'Release') }} :
44+ codeSignValidation :
45+ additionalTargetsGlobPattern : -|**\.playwright\**;-|**PowerAppsTestEngineWrapper\playwright.ps1;-|**PowerAppsTestEngineWrapper\JS\**
46+ enabled : false
47+ break : true
48+
49+
3650 outputs :
3751 - output : pipelineArtifact
3852 condition : succeeded()
3953 artifactName : ' PowerApps.TestEngine ($(BuildConfiguration))'
4054 targetPath : ' $(Build.ArtifactStagingDirectory)'
41- - output : nuget
42- condition : and(succeeded(), eq(variables['BuildConfiguration'], 'Release'), eq(variables['UpdateVer'], 'true'))
43- useDotNetTask : false # The default is false to use the NuGetCommand task. Set to true to use the DotNetCoreCLI task to publish packages.
44- packagesToPush : ' $(Build.ArtifactStagingDirectory)/Microsoft.PowerApps.TestEngine.*.nupkg'
45- packageParentPath : ' $(Build.ArtifactStagingDirectory)'
46- publishVstsFeed : $(InternalFeed)
47- nuGetFeedType : internal
48- allowPackageConflicts : true # Optional. NuGetCommand task only.
4955 steps :
5056 - script : |
5157 echo "Hello $(myVariable)"
@@ -79,7 +85,9 @@ extends:
7985 AuthAKVName : $(EsrpKVName)
8086 AuthSignCertName : $(EsrpAuthSignCertName)
8187 FolderPath : ' $(Build.SourcesDirectory)/bin/$(BuildConfiguration)/PowerAppsTestEngineWrapper/'
82- Pattern : ' *.dll'
88+ Pattern : |
89+ *.dll
90+ UseMinimatch : true
8391 signConfigType : inlineSignParams
8492 inlineOperation : |
8593 [
@@ -122,26 +130,8 @@ extends:
122130 - task : CopyFiles@2
123131 displayName : ' Copy Built Files to Artifact Staging Directory'
124132 inputs :
125- SourceFolder : ' $(Build.SourcesDirectory)/bin'
126- TargetFolder : ' $(Build.ArtifactStagingDirectory)/buildoutput/bin'
127- # Include all files except abc.txt
128- Contents : |
129- **/*
130- !**/ThirdPartyNotices.txt
131- - task : CopyFiles@2
132- displayName : ' Copy Built Files to Artifact Staging Directory'
133- inputs :
134- SourceFolder : ' $(Build.SourcesDirectory)/obj'
135- TargetFolder : ' $(Build.ArtifactStagingDirectory)/buildoutput/obj'
136- # Include all files except abc.txt
137- Contents : |
138- **/*
139- !**/ThirdPartyNotices.txt
140- - task : CopyFiles@2
141- displayName : ' Copy Built Files to Artifact Staging Directory'
142- inputs :
143- SourceFolder : ' $(Build.SourcesDirectory)/pkg'
144- TargetFolder : ' $(Build.ArtifactStagingDirectory)/buildoutput/pkg'
133+ SourceFolder : ' $(Build.SourcesDirectory)/bin/$(BuildConfiguration)/PowerAppsTestEngineWrapper'
134+ TargetFolder : ' $(Build.ArtifactStagingDirectory)/buildoutput/bin/$(BuildConfiguration)/PowerAppsTestEngineWrapper'
145135 # Include all files except abc.txt
146136 Contents : |
147137 **/*
0 commit comments