From 3dd987f0bbc40b5acc3b2a6f3d8e3159e888e39d Mon Sep 17 00:00:00 2001 From: dilin-MS Date: Thu, 9 Jan 2020 17:41:59 +0800 Subject: [PATCH] run credscan in CI/CD --- azure-pipelines.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a78e153a..2eb294eb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -40,6 +40,12 @@ steps: displayName: 'check gts error' failOnStderr: True + - task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2 + displayName: 'Run CredScan' + inputs: + debugMode: false + condition: eq(variables['Agent.OS'], 'Windows_NT') + - task: Npm@1 displayName: 'Compile sources' inputs: