Skip to content

Commit 9b83459

Browse files
[CI] Setup dummy azure pipeline (#198)
Signed-off-by: Shilong Liu <[email protected]>
1 parent 183162f commit 9b83459

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

azure-pipelines.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Starter pipeline
2+
# Start with a minimal pipeline that you can customize to build and deploy your code.
3+
# Add steps that build, run tests, deploy, and more:
4+
# https://aka.ms/yaml
5+
6+
pool:
7+
vmImage: sonicbld
8+
9+
trigger:
10+
branches:
11+
include:
12+
- master
13+
14+
pr:
15+
branches:
16+
include:
17+
- master
18+
19+
stages:
20+
- stage: Build
21+
jobs:
22+
- job:
23+
displayName: "build"
24+
timeoutInMinutes: 60
25+
steps:
26+
- checkout: self
27+
clean: true
28+
submodules: recursive
29+
displayName: 'Checkout code'
30+
- script: |
31+
echo Hello
32+
# the following is copied from jenkins
33+
# set -ex
34+
# ./scripts/common/python-asyncsnmp-build/build.sh
35+
# ./scripts/common/python-asyncsnmp-build/test.sh
36+
- publish: $(System.DefaultWorkingDirectory)/target/python-wheels/
37+
artifact: sonic-snmpagent
38+
displayName: "Archive artifacts"
39+

0 commit comments

Comments
 (0)