From 9b83459d647622a12387085f01d2256fd69430e2 Mon Sep 17 00:00:00 2001 From: liushilongbuaa <584370777@qq.com> Date: Fri, 12 Mar 2021 14:35:23 +0800 Subject: [PATCH] [CI] Setup dummy azure pipeline (#198) Signed-off-by: Shilong Liu --- azure-pipelines.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000000..f463e2e8d35c --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,39 @@ +# 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 + +pool: + vmImage: sonicbld + +trigger: + branches: + include: + - master + +pr: + branches: + include: + - master + +stages: +- stage: Build + jobs: + - job: + displayName: "build" + timeoutInMinutes: 60 + steps: + - checkout: self + clean: true + submodules: recursive + displayName: 'Checkout code' + - script: | + echo Hello + # the following is copied from jenkins + # set -ex + # ./scripts/common/python-asyncsnmp-build/build.sh + # ./scripts/common/python-asyncsnmp-build/test.sh + - publish: $(System.DefaultWorkingDirectory)/target/python-wheels/ + artifact: sonic-snmpagent + displayName: "Archive artifacts" +