From cccbe373c2961b2494084053d8d143f6d30f2606 Mon Sep 17 00:00:00 2001 From: Ian Huff Date: Wed, 28 Aug 2019 09:08:18 -0700 Subject: [PATCH] add cron job to nightly tests --- build/ci/vscode-python-nightly-ci.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/build/ci/vscode-python-nightly-ci.yaml b/build/ci/vscode-python-nightly-ci.yaml index 1edb380d556e..814743588a17 100644 --- a/build/ci/vscode-python-nightly-ci.yaml +++ b/build/ci/vscode-python-nightly-ci.yaml @@ -1,6 +1,4 @@ # Nightly build -# Notes: Scheduled builds don't have a trigger in YAML (as of this writing). -# Trigger is set through the Azure DevOps UI `Nightly Build->Edit->...->Triggers`. name: '$(Year:yyyy).$(Month).0.$(BuildID)-alpha' @@ -10,6 +8,16 @@ trigger: none # Not the PR build for merges to master and release. pr: none +schedules: +- cron: "0 0 * * 1-5" + # Daily midnight build, runs Monday - Friday always + displayName: Nightly build + branches: + include: + - master + - release + always: true + # Variables that are available for the entire pipeline. variables: PythonVersion: '3.7'