From 72bbc7ac20bd5a07c755ffcbf98511b0c9b9971c Mon Sep 17 00:00:00 2001 From: Fred-sun Date: Thu, 28 May 2020 17:05:02 +0800 Subject: [PATCH] add test --- azure-pipelines.yml | 4 ---- azure-pipelines.yml_bac | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 azure-pipelines.yml_bac diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e099ce7..e63c55b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,8 +24,4 @@ steps: scriptSource: 'inline' script: | print('Hello world 1') - pirnt($(Build.Repository.LocalPath)) - print($(Build.Repository.ID)) - print($(Build.Repository.Name)) - print($(Build.Repository.Provider)) print('Hello world 2') diff --git a/azure-pipelines.yml_bac b/azure-pipelines.yml_bac new file mode 100644 index 0000000..e099ce7 --- /dev/null +++ b/azure-pipelines.yml_bac @@ -0,0 +1,31 @@ +# 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' + + +- task: PythonScript@0 + inputs: + scriptSource: 'inline' + script: | + print('Hello world 1') + pirnt($(Build.Repository.LocalPath)) + print($(Build.Repository.ID)) + print($(Build.Repository.Name)) + print($(Build.Repository.Provider)) + print('Hello world 2')