File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,28 @@ trigger:
33 include :
44 - develop
55
6+ schedules :
7+ - cron : " 0 21-22 31 * *"
8+ displayName : Monthly build
9+ branches :
10+ include :
11+ - develop
12+ always : true
13+
614pool :
715 name : win2016-vs2017
816# name: Azure Pipelines
917
18+ parameters :
19+ - name : RUN_VERACODE_SCAN
20+ displayName : ' Upload to Veracode'
21+ type : boolean
22+ default : true
23+ - name : RUN_VERACODE_SCA
24+ displayName : ' Execute Veracode SCA'
25+ type : boolean
26+ default : false
27+
1028steps :
1129 - checkout : self
1230 clean : true
1937 RunAsPreJob : true
2038 - task : PowerShell@2
2139 displayName : PowerShell Script
22- condition : and(succeeded(), eq('${{ variables.veracodeSCA }}', 'true'))
40+ condition : and(succeeded(), eq('${{ parameters.RUN_VERACODE_SCA }}', 'true'))
2341 inputs :
2442 targetType : inline
2543 script : >
@@ -178,6 +196,7 @@ steps:
178196 workingDirectory : $(Build.SourcesDirectory)
179197 - task : Veracode@3
180198 displayName : ' Upload and scan: $(Build.ArtifactStagingDirectory)/StackifyLib.$(version).nupkg'
199+ condition : and(succeeded(), eq('${{ parameters.RUN_VERACODE_SCAN }}', 'true'))
181200 enabled : True
182201 inputs :
183202 AnalysisService : 51003f89-58ab-463c-8e20-41484888d9c7
You can’t perform that action at this time.
0 commit comments