From 98ef1eaaba0f8c84d898174cd32b8ef67cd31b08 Mon Sep 17 00:00:00 2001 From: FGRoy Date: Sun, 29 Mar 2020 23:04:53 +0200 Subject: [PATCH 1/2] Set up CI with Azure Pipelines [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..aa91291 --- /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 56fc0a8ff43a188e45bd812514b439cd57dd70ca Mon Sep 17 00:00:00 2001 From: FGRoy Date: Sun, 5 Apr 2020 13:44:49 +0200 Subject: [PATCH 2/2] Update azure-pipelines.yml for Azure Pipelines Attempt to script Pipelines --- azure-pipelines.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index aa91291..77f9bb0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,10 +10,16 @@ pool: vmImage: 'ubuntu-latest' steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' +#- script: echo Hello, world! +# displayName: 'Run a one-line script' +#steps: +- task: PowerShell@1 + displayName: 'PowerShell Script' + inputs: + scriptName: '$(System.DefaultWorkingDirectory)/Source_FGRoy_PCAutomation/1.PC_Onboarding_v3.ps1' - script: | echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yaml displayName: 'Run a multi-line script' +