From 7fd5ea7ec8591475b53dedc62f4572c05c05f201 Mon Sep 17 00:00:00 2001 From: hmishra Date: Wed, 17 Jul 2024 17:18:34 +0530 Subject: [PATCH] Add TSAoptions and include it to the pipeline --- eng/pipeline.yml | 5 +++++ eng/tsa-options.json | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 eng/tsa-options.json diff --git a/eng/pipeline.yml b/eng/pipeline.yml index 0504a9d5bbb..99c4d4cf0a0 100644 --- a/eng/pipeline.yml +++ b/eng/pipeline.yml @@ -5,6 +5,7 @@ parameters: runAsPublic: true repoName: dotnet/wpf + TSAEnabled: true jobs: - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}: - template: /eng/common/templates-official/job/onelocbuild.yml@self @@ -45,6 +46,10 @@ jobs: variables: - name: Codeql.Enabled value: true + - name: Codeql.TSAEnabled + value: ${{ parameters.TSAEnabled }} + - name: Codeql.TSAOptionsPath + value: $(Build.SourcesDirectory)/eng/tsa-options.json - name: _TeamName value: DotNetCore - name: _SignType diff --git a/eng/tsa-options.json b/eng/tsa-options.json new file mode 100644 index 00000000000..a9c3451bf7a --- /dev/null +++ b/eng/tsa-options.json @@ -0,0 +1,10 @@ +{ + "instanceUrl": "https://devdiv.visualstudio.com/", + "template": "TFSDEVDIV", + "projectName": "DEVDIV", + "areaPath": "DevDiv\\NET Fundamentals\\NET Partners\\WPF\\Security\\SDL", + "iterationPath": "DevDiv", + "notificationAliases": [ "wpf-netcore-dev@microsoft.com" ], + "repositoryName":"wpf", + "codebaseName": "wpf" +} \ No newline at end of file