From ebf9570a366771c0643a5c8b6983ff7b4b854ccb Mon Sep 17 00:00:00 2001 From: oneonezhang Date: Fri, 14 Feb 2025 19:18:36 +0800 Subject: [PATCH] read config from variable --- build/pipelines/azure-pipelines.release.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build/pipelines/azure-pipelines.release.yaml b/build/pipelines/azure-pipelines.release.yaml index 599af2bb..1408c717 100644 --- a/build/pipelines/azure-pipelines.release.yaml +++ b/build/pipelines/azure-pipelines.release.yaml @@ -32,6 +32,8 @@ resources: type: git name: 1ESPipelineTemplates/1ESPipelineTemplates ref: refs/tags/release + variables: + - group: CalculatorTSAConfig extends: template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines @@ -43,6 +45,13 @@ extends: sdl: tsa: enabled: true + config: + codebaseName: $(CodebaseName) + notificationAliases: $(NotificationAliases) + instanceUrl: $(InstanceUrl) + projectName: $(ProjectName) + areaPath: $(AreaPath) + serviceTreeID: $(ServiceTreeID) codeql: tsaEnabled: true