Enable and configure TSA (#2297)

* test

* read config from variable

* fix

* fix

* add prefix

* reset some

* reset version
This commit is contained in:
oneonezhang 2025-02-18 09:51:19 +08:00 committed by GitHub
parent 90fd81db26
commit 41fc032bee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,10 +8,15 @@ trigger: none
pr: none
variables:
versionMajor: 11
versionMinor: 2502
versionBuild: $[counter(format('{0}.{1}.*', variables['versionMajor'], variables['versionMinor']), 0)]
versionPatch: 0
- name: versionMajor
value: 11
- name: versionMinor
value: 2502
- name: versionBuild
value: $[counter(format('{0}.{1}.*', variables['versionMajor'], variables['versionMinor']), 0)]
- name: versionPatch
value: 0
- group: CalculatorTSAConfig
name: '$(versionMajor).$(versionMinor).$(versionBuild).$(versionPatch)'
@ -40,6 +45,19 @@ extends:
name: EssentialExperiences-windows-2022
image: MMSWindows2022-Secure
os: windows
sdl:
tsa:
enabled: true
config:
codebaseName: $(TSA.CodebaseName)
notificationAliases: $(TSA.NotificationAliases)
instanceUrl: $(TSA.InstanceUrl)
projectName: $(TSA.ProjectName)
areaPath: $(TSA.AreaPath)
serviceTreeID: $(TSA.ServiceTreeID)
allTools: true
codeql:
tsaEnabled: true
stages:
- stage: Calculator