From c0c135f120f0d36ca066c5882e55ce96ea863424 Mon Sep 17 00:00:00 2001 From: SteVen Batten Date: Tue, 4 Jan 2022 14:40:30 -0800 Subject: [PATCH] update ob pipeline --- .../azure-pipelines/config/CredScanSuppressions.json | 11 +++++++++++ build/azure-pipelines/config/tsaoptions.json | 12 ++++++++++++ build/azure-pipelines/product-onebranch.yml | 2 ++ 3 files changed, 25 insertions(+) create mode 100644 build/azure-pipelines/config/CredScanSuppressions.json create mode 100644 build/azure-pipelines/config/tsaoptions.json diff --git a/build/azure-pipelines/config/CredScanSuppressions.json b/build/azure-pipelines/config/CredScanSuppressions.json new file mode 100644 index 00000000000..312a5560cbd --- /dev/null +++ b/build/azure-pipelines/config/CredScanSuppressions.json @@ -0,0 +1,11 @@ +{ + "tool": "Credential Scanner", + "suppressions": [ + { + "file": [ + "src/vs/base/test/common/uri.test.ts" + ], + "_justification": "These are not passwords, they are URIs." + } + ] +} diff --git a/build/azure-pipelines/config/tsaoptions.json b/build/azure-pipelines/config/tsaoptions.json new file mode 100644 index 00000000000..560d0c2513a --- /dev/null +++ b/build/azure-pipelines/config/tsaoptions.json @@ -0,0 +1,12 @@ +{ + "instanceUrl": "https://msazure.visualstudio.com/defaultcollection", + "projectName": "One", + "areaPath": "One\\VSCode\\Client", + "iterationPath": "One", + "notificationAliases": [ + "sbatten@microsoft.com" + ], + "ppe": "false", + "template": "TFSMSAzure", + "codebaseName": "vscode-client" +} diff --git a/build/azure-pipelines/product-onebranch.yml b/build/azure-pipelines/product-onebranch.yml index bd99274936f..6241e0c0ee4 100644 --- a/build/azure-pipelines/product-onebranch.yml +++ b/build/azure-pipelines/product-onebranch.yml @@ -28,6 +28,8 @@ extends: globalSdl: policheck: break: true + credscan: + suppressionsFile: $(Build.SourcesDirectory)\build\azure-pipelines\config\CredScanSuppressions.json stages: - stage: Compile