diff --git a/README.md b/README.md index 0a3d422..37fb5f1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Partner Center PowerShell -![Build status](https://dev.azure.com/partnercenter/powershell/_apis/build/status/partner-center-powershell-CI) ![Deployment status](https://vsrm.dev.azure.com/partnercenter/_apis/public/Release/badge/330fa980-0fb5-4550-8242-f162a4c6d7c7/6/9) +[![Build Status](https://dev.azure.com/isaiahwilliams/public/_apis/build/status/partner-center-powershell?branchName=master)](https://dev.azure.com/isaiahwilliams/public/_build/latest?definitionId=46&branchName=master) ![Deployment status](https://vsrm.dev.azure.com/partnercenter/_apis/public/Release/badge/330fa980-0fb5-4550-8242-f162a4c6d7c7/6/9) [![PartnerCenter](https://img.shields.io/powershellgallery/v/PartnerCenter.svg?style=flat-square&label=PartnerCenter)](https://www.powershellgallery.com/packages/PartnerCenter/) [![GitHub issues](https://img.shields.io/github/issues/Microsoft/Partner-Center-PowerShell.svg)](https://github.com/Microsoft/Partner-Center-PowerShell/issues/) [![GitHub pull-requests](https://img.shields.io/github/issues-pr/Microsoft/Partner-Center-PowerShell.svg)](https://gitHub.com/Microsoft/Partner-Center-PowerShell/pull/) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 95b596d..4544ffa 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,6 +17,21 @@ variables: buildConfiguration: 'Release' steps: +- task: CredScan@2 + displayName: CredScan + inputs: + toolMajorVersion: 'V2' + condition: eq(variables['Agent.OS'], 'Windows_NT') + +- task: PoliCheck@1 + displayName: PoliCheck + inputs: + inputType: 'Basic' + targetType: 'F' + targetArgument: '$(Build.SourcesDirectory)' + result: 'PoliCheck.xml' + condition: eq(variables['Agent.OS'], 'Windows_NT') + - task: DotNetCoreCLI@2 displayName: Build inputs: