Adding CodeQL in Windows pipeline for product build (#24496)

* Add CodeQL to product build pipeline

* Fix parsing error

* Remove variable

* Remove variables and add to pipeline

* Add CodeQL Finalize step
This commit is contained in:
Sakshi Sharma
2023-09-21 14:51:22 -07:00
committed by GitHub
parent 75deb08a2c
commit 711db9cadc
2 changed files with 18 additions and 7 deletions

View File

@@ -41,6 +41,10 @@ steps:
exec { git config --global https.postBuffer 524288000 }
displayName: Prepare tooling
- task: CodeQL3000Init@0
displayName: CodeQL Initialize
condition: eq(variables['Codeql.enabled'], 'True')
- powershell: |
git remote add distro "https://github.com/$(VSCODE_MIXIN_REPO).git"
git fetch distro
@@ -344,6 +348,10 @@ steps:
continueOnError: true
condition: and(succeededOrFailed(), eq(variables['RUN_UNSTABLE_TESTS'], 'true'))
- task: CodeQL3000Finalize@0
displayName: CodeQL Finalize
condition: eq(variables['Codeql.enabled'], 'True')
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'
inputs: