Skip to content

Commit 797839a

Browse files
authored
Add nightly build for scan (Azure#201)
1 parent 419aa0b commit 797839a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.azure-pipelines/daily-build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Please don't use ADO UI defined scheduled triggers because it takes precedence over YAML scheduled triggers.
2+
# https://docs.microsoft.com/en-us/azure/devops/pipelines/process/scheduled-triggers
3+
schedules:
4+
- cron: "0 0 * * *"
5+
displayName: Daily Midnight Build
6+
branches:
7+
include:
8+
- master
9+
10+
trigger: none
11+
pr: none
12+
13+
pool:
14+
vmImage: 'windows-2019'
15+
16+
steps:
17+
- task: UseDotNet@2
18+
displayName: 'Use .Net Core sdk 2.1.302'
19+
inputs:
20+
version: 2.1.302
21+
22+
- task: DotNetCoreCLI@2
23+
displayName: 'Build Debug'
24+
inputs:
25+
command: custom
26+
custom: msbuild
27+
arguments: 'build.proj /p:Configuration=Debug /t:Build /NoLogo'

0 commit comments

Comments
 (0)