Skip to content

Commit d38f1dd

Browse files
authored
Disable codeql in individual jobs in azure-pipelines.yml
1 parent b831ca6 commit d38f1dd

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

eng/azure-pipelines.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ extends:
8686
tsa:
8787
enabled: true
8888
codeql:
89-
compiled:
90-
enabled: false
91-
justificationForDisabling: CodeQL times out on Windows even after 10 hours timeout
9289
runSourceLanguagesInSourceAnalysis: true
9390
sourceAnalysisPool:
9491
name: $(DncEngInternalBuildPool)
@@ -139,6 +136,12 @@ extends:
139136
image: 1es-ubuntu-2204
140137
os: linux
141138
container: ${{ buildjob.imagename }}
139+
templateContext:
140+
sdl:
141+
codeql:
142+
compiled:
143+
enabled: false
144+
justificationForDisabling: CodeQL times out on Windows even after 10 hours timeout and we have a separate pipeline for CodeQL
142145
steps:
143146
- bash: |
144147
set -ex
@@ -168,6 +171,12 @@ extends:
168171
name: Azure Pipelines
169172
image: macos-13
170173
os: macOS
174+
templateContext:
175+
sdl:
176+
codeql:
177+
compiled:
178+
enabled: false
179+
justificationForDisabling: CodeQL times out on Windows even after 10 hours timeout and we have a separate pipeline for CodeQL
171180
steps:
172181
- bash: |
173182
set -ex
@@ -195,6 +204,12 @@ extends:
195204
name: $(DncEngInternalBuildPool)
196205
image: windows.vs2022.amd64
197206
os: windows
207+
templateContext:
208+
sdl:
209+
codeql:
210+
compiled:
211+
enabled: false
212+
justificationForDisabling: CodeQL times out on Windows even after 10 hours timeout and we have a separate pipeline for CodeQL
198213
steps:
199214
- checkout: self
200215
clean: true

0 commit comments

Comments
 (0)