1- name : TextUtility-ModuleBuild-$(Build.BuildId)
2- trigger : none
3- pr : none
1+ trigger :
2+ - main
43
54schedules :
65- cron : ' 0 3 * * 1'
7- displayName : Weekly Build
6+ displayName : Weekly CodeQL
87 branches :
98 include :
109 - main
1110 always : true
1211
1312parameters :
14- - name : ' publishToPowerShellGallery '
15- displayName : ' Publish module to PowerShell gallery '
16- type : boolean
17- default : false
13+ - name : debug
14+ displayName : Enable debug output
15+ type : boolean
16+ default : false
1817
1918variables :
19+ system.debug : ${{ parameters.debug }}
2020 BuildConfiguration : Release
21+ WindowsContainerImage : onebranch.azurecr.io/windows/ltsc2022/vse2022:latest
2122 DOTNET_NOLOGO : true
2223 DOTNET_GENERATE_ASPNET_CERTIFICATE : false
23- DOTNET_CLI_TELEMETRY_OPTOUT : 1
24- POWERSHELL_TELEMETRY_OPTOUT : 1
25- DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
26- WindowsContainerImage : onebranch.azurecr.io/windows/ltsc2022/vse2022:latest
2724
2825resources :
2926 repositories :
@@ -36,16 +33,17 @@ extends:
3633 # https://aka.ms/obpipelines/templates
3734 template : v2/OneBranch.Official.CrossPlat.yml@templates
3835 parameters :
39- featureFlags :
40- WindowsHostVersion : ' 1ESWindows2022'
4136 globalSdl : # https://aka.ms/obpipelines/sdl
4237 asyncSdl :
4338 enabled : true
4439 forStages : [build]
45- # credscan:
46- # enabled: true
47- # scanfolder: $(Build.SourcesDirectory)
48- # suppressionsFile: $(Build.SourcesDirectory)\.config\suppress.json
40+ featureFlags :
41+ EnableCDPxPAT : false
42+ WindowsHostVersion :
43+ Version : 2022
44+ Network : KS3
45+ release :
46+ category : NonAzure
4947 stages :
5048 - stage : build
5149 jobs :
@@ -54,10 +52,7 @@ extends:
5452 pool :
5553 type : windows
5654 variables :
57- - name : ob_outputDirectory
58- value : $(Build.SourcesDirectory)/out
59- # - name: ob_sdl_credscan_suppressionsFile
60- # value: $(Build.SourcesDirectory)\.config\suppress.json
55+ ob_outputDirectory : $(Build.SourcesDirectory)/out
6156 steps :
6257 - pwsh : |
6358 Write-Verbose -Verbose ((Get-Item $(Build.SourcesDirectory)).FullName)
0 commit comments