1
- name : TextUtility-ModuleBuild-$(Build.BuildId)
2
- trigger : none
3
- pr : none
1
+ trigger :
2
+ - main
4
3
5
4
schedules :
6
5
- cron : ' 0 3 * * 1'
7
- displayName : Weekly Build
6
+ displayName : Weekly CodeQL
8
7
branches :
9
8
include :
10
9
- main
11
10
always : true
12
11
13
12
parameters :
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
18
17
19
18
variables :
19
+ system.debug : ${{ parameters.debug }}
20
20
BuildConfiguration : Release
21
+ WindowsContainerImage : onebranch.azurecr.io/windows/ltsc2022/vse2022:latest
21
22
DOTNET_NOLOGO : true
22
23
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
27
24
28
25
resources :
29
26
repositories :
@@ -36,16 +33,17 @@ extends:
36
33
# https://aka.ms/obpipelines/templates
37
34
template : v2/OneBranch.Official.CrossPlat.yml@templates
38
35
parameters :
39
- featureFlags :
40
- WindowsHostVersion : ' 1ESWindows2022'
41
36
globalSdl : # https://aka.ms/obpipelines/sdl
42
37
asyncSdl :
43
38
enabled : true
44
39
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
49
47
stages :
50
48
- stage : build
51
49
jobs :
@@ -54,10 +52,7 @@ extends:
54
52
pool :
55
53
type : windows
56
54
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
61
56
steps :
62
57
- pwsh : |
63
58
Write-Verbose -Verbose ((Get-Item $(Build.SourcesDirectory)).FullName)
0 commit comments