Explicitly specify triggers in pipelines yaml (#91)
Same as https://github.com/microsoft/vscode-azurefunctions/pull/1975
This commit is contained in:
Родитель
aa9d05c901
Коммит
0fd5da0479
|
@ -1,3 +1,7 @@
|
|||
variables:
|
||||
${{ if eq(variables['Build.Reason'], 'Schedule') }}:
|
||||
ENABLE_LONG_RUNNING_TESTS: true
|
||||
|
||||
jobs:
|
||||
- job: Windows
|
||||
pool:
|
||||
|
@ -23,3 +27,21 @@ jobs:
|
|||
- template: common/build.yml
|
||||
- template: common/lint.yml
|
||||
- template: common/test.yml
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- '*'
|
||||
|
||||
pr:
|
||||
branches:
|
||||
include:
|
||||
- '*'
|
||||
|
||||
schedules:
|
||||
- cron: "0 9 * * *"
|
||||
displayName: Nightly at 2:00 PT
|
||||
always: true # Run even when there are no code changes
|
||||
branches:
|
||||
include:
|
||||
- master
|
||||
|
|
Загрузка…
Ссылка в новой задаче