From 19438b71bcf34422a7cd75b453edcf9e206a04a1 Mon Sep 17 00:00:00 2001 From: Aly <44007982+alyrazik@users.noreply.github.com> Date: Tue, 12 Apr 2022 16:42:48 +0200 Subject: [PATCH 1/2] Set up CI with Azure Pipelines (made to send queries) The pipeline is made to send scheduled queries using an extension. [skip ci] --- azure-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..27a798a --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,19 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' From eaf6b096c0810b5ef17b242e5c2ca99b1dfb4aac Mon Sep 17 00:00:00 2001 From: Aly <44007982+alyrazik@users.noreply.github.com> Date: Tue, 12 Apr 2022 17:50:30 +0200 Subject: [PATCH 2/2] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 27a798a..2ea21e6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,4 +1,13 @@ # Starter pipeline +- task: ADOScheduledWorkItemQuery@0 + inputs: + sendMethod: 'SendGrid' + project: '6b533eb7-c52c-4d5c-9415-e94b5a7440b9' + queryType: 'Shared' + query: 'c0e3685b-92b0-4b02-bab1-ec28c85b9a72' + sendIfEmpty: true + subject: 'All CSI entries' + emailAddresses: 'aly.abdelrazek@orange.com' # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml