Remove AsyncSDL from Pipelines Toggle Official/NonOfficial Runs #25885
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Summary
This pull request updates several Azure Pipeline YAML files to improve build configuration flexibility and security scanning consistency. The main changes introduce a new
OfficialBuild
parameter to control template selection and environment variables, standardize the use of BinSkim with a fixed tool version, and clean up legacy or redundant SDL scanning steps.Build configuration improvements:
OfficialBuild
boolean parameter to multiple pipeline YAML files to allow conditional selection of official vs. non-official build templates. This enables more flexible build configurations based on the build type. [1] [2] [3] [4]templateFile
variable, which is set based on theOfficialBuild
parameter, ensuring the correct pipeline template is used for each build. [1] [2] [3] [4] [5] [6] [7]Security scanning adjustments:
exactToolVersion: 4.4.2
for BinSkim across all pipelines to standardize the tool version and avoid compatibility issues. [1] [2] [3] [4] [5] [6]incrementalSDLBinaryAnalysis
in feature flags for more efficient and targeted security analysis. [1] [2] [3] [4]Legacy and redundant step clean-up:
asyncSDL
andcredscan
steps from several pipeline configurations to simplify and modernize the security scanning process. [1] [2] [3] [4]Environment variable management:
releaseEnvironment
variable based on theOfficialBuild
parameter, ensuring the correct environment context for release pipelines. [1] [2]These changes collectively improve pipeline maintainability, security scanning reliability, and build environment flexibility.
PR Context
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright header