-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6382f03
commit e314d09
Showing
3 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |