Skip to content

Commit a7a5cd9

Browse files
Enable PreFast for build stage in OneBranch pipeline (#1533)
Re-enable PreFast for build stage in pipeline.
1 parent 6d87b84 commit a7a5cd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pipelines/OneBranch.Official.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ extends:
4545
compiled:
4646
enabled: true
4747
tsaEnabled: true
48-
prefast:
49-
enabled: true
5048

5149
stages:
5250
- stage: build
@@ -59,6 +57,8 @@ extends:
5957
BuildConfiguration: $(BuildConfiguration)
6058
BuildVersion: $(BuildVersion)
6159
OfficialBuild: true
60+
ob_sdl_prefast_enabled: true
61+
ob_sdl_prefast_runDuring: "Guardian" # Enabling PreFast only for build stage
6262

6363
- stage: vpack
6464
dependsOn: build

0 commit comments

Comments
 (0)