Skip to content

Commit e40e0e7

Browse files
committed
Integrate TSA into the official build
1 parent a91bcf4 commit e40e0e7

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.config/tsaoptions.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"instanceUrl": "https://devdiv.visualstudio.com/",
3+
"template": "TFSDEVDIV",
4+
"projectName": "DEVDIV",
5+
"areaPath": "DevDiv\\NET Libraries",
6+
"iterationPath": "DevDiv",
7+
"notificationAliases": [ "[email protected]" ],
8+
"repositoryName":"command-line-api",
9+
"codebaseName": "command-line-api",
10+
"serviceTreeId": "7a9b52f6-7805-416c-9390-343168c0cdb3"
11+
}

.vsts-ci-official.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,20 @@ variables:
55
value: .NETCore
66
- name: Codeql.Enabled
77
value: true
8+
# CodeQL3000 needs this plumbed along as a variable to enable TSA.
9+
- name: Codeql.TSAEnabled
10+
value: true
11+
- name: Codeql.TSAOptionsPath
12+
value: '$(Build.SourcesDirectory)/.config/tsaoptions.json'
813

914
# CI and PR triggers
1015
trigger:
1116
batch: true
1217
branches:
1318
include:
1419
- main
20+
- internal/release/*
21+
- validation/*
1522

1623
pr:
1724
autoCancel: false
@@ -35,6 +42,14 @@ extends:
3542
os: windows
3643
customBuildTags:
3744
- ES365AIMigrationTooling
45+
sdl:
46+
binskim:
47+
scanOutputDirectoryOnly: true
48+
preReleaseVersion: '4.3.1'
49+
policheck:
50+
enabled: true
51+
tsa:
52+
enabled: true
3853
stages:
3954
- stage: build
4055
displayName: Build and Test

0 commit comments

Comments
 (0)