File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ extends:
23
23
template : v1/1ES.Official.PipelineTemplate.yml@1esPipelines
24
24
parameters :
25
25
pool :
26
- os : linux
27
26
name : 1ES_JavaTooling_Pool
28
- image : 1ES_JavaTooling_Ubuntu-2004
27
+ image : 1ES_JavaTooling_Windows_2022
28
+ os : windows
29
29
sdl :
30
30
sourceAnalysisPool :
31
31
name : 1ES_JavaTooling_Pool
@@ -77,6 +77,25 @@ extends:
77
77
displayName : vsce package
78
78
inputs :
79
79
script : npx @vscode/vsce@latest package
80
+ # ## Copy files for APIScan
81
+ - task : CopyFiles@2
82
+ displayName : " Copy Files for APIScan"
83
+ inputs :
84
+ Contents : " *.vsix"
85
+ TargetFolder : $(Agent.TempDirectory)/APIScanFiles
86
+ condition : and(succeeded(), ne(variables['DisableAPIScan'], 'true'))
87
+ # ## Run latest version of APIScan listed at https://www.1eswiki.com/wiki/APIScan_Build_Task
88
+ - task : APIScan@2
89
+ displayName : Run APIScan
90
+ inputs :
91
+ softwareFolder : $(Agent.TempDirectory)/APIScanFiles
92
+ softwareName : " vscode-java-debug"
93
+ softwareVersionNum : " $(Build.BuildId)"
94
+ isLargeApp : false
95
+ toolVersion : " Latest"
96
+ condition : and(succeeded(), ne(variables['DisableAPIScan'], 'true'))
97
+ env :
98
+ AzureServicesAuthConnectionString : runAs=App;AppId=$(ApiScanClientId);TenantId=$(ApiScanTenant);AppKey=$(ApiScanSecret)
80
99
- task : CopyFiles@2
81
100
displayName : " Copy Files to: $(Build.ArtifactStagingDirectory)/vsix"
82
101
inputs :
You can’t perform that action at this time.
0 commit comments