diff --git a/.azure-pipelines/credscan-suppressions.json b/.azure-pipelines/credscan-suppressions.json new file mode 100644 index 0000000000..e69de29bb2 diff --git a/.azure-pipelines/daily-build.yml b/.azure-pipelines/daily-build.yml new file mode 100644 index 0000000000..777ab1e463 --- /dev/null +++ b/.azure-pipelines/daily-build.yml @@ -0,0 +1,50 @@ +# Please don't use ADO UI defined scheduled triggers because it takes precedence over YAML scheduled triggers. +# https://docs.microsoft.com/en-us/azure/devops/pipelines/process/scheduled-triggers +schedules: +- cron: "0 0 * * *" + displayName: Daily Midnight Build + branches: + include: + - master + +trigger: none +pr: none + +pool: + name: Hosted VS2017 + demands: npm + +steps: +- task: NodeTool@0 + displayName: 'Use Node 10.16.0' + inputs: + versionSpec: 10.16.0 + +- task: Npm@1 + displayName: 'Install autorest@beta' + inputs: + command: custom + verbose: false + customCommand: 'install -g "@autorest/autorest"' + +- task: Npm@1 + displayName: 'Install @microsoft/rush' + inputs: + command: custom + verbose: false + customCommand: 'install -g @microsoft/rush@5.12.0' + +- task: CmdLine@2 + displayName: 'Rush sync-versions' + inputs: + script: 'rush sync-versions' + +- task: CmdLine@2 + displayName: 'Rush Update' + inputs: + script: 'rush update' + +- task: CmdLine@2 + displayName: 'Rush Rebuild' + inputs: + script: 'rush rebuild' \ No newline at end of file diff --git a/.azure-pipelines/security-scan.yml b/.azure-pipelines/security-scan.yml new file mode 100644 index 0000000000..190e3067ee --- /dev/null +++ b/.azure-pipelines/security-scan.yml @@ -0,0 +1,15 @@ +trigger: + branches: + include: + - '*' + +pool: + vmImage: "windows-2019" + +steps: +- task: ms-codeanalysis.vss-microsoft-security-code-analysis-devops.build-task-credscan.CredScan@2 + displayName: 'Run CredScan' + continueOnError: true + inputs: + toolMajorVersion: "V2" + suppressionsFile: .azure-pipelines\credscan-suppressions.json \ No newline at end of file