Commit 8191332 1 parent 2bbe0c0 commit 8191332 Copy full SHA for 8191332
File tree 2 files changed +25
-3
lines changed
2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,26 @@ pipeline {
33
33
git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $(realpath --relative-to=. $(cut -d" " -f2 .git))" > .git'
34
34
35
35
make configure PLATFORM=vs
36
+ make SONIC_CONFIG_BUILD_JOBS=1 target/docker-sonic-vs.gz
36
37
37
- touch target/debs/stretch/*.deb
38
+ '''
39
+ }
40
+ }
38
41
39
- make SONIC_CONFIG_BUILD_JOBS=1 target/docker-sonic-vs.gz
42
+ stage(' Test' ) {
43
+ steps {
44
+ wrap([$class : ' AnsiColorBuildWrapper' , ' colorMapName' : ' xterm' ]) {
45
+ lock(resource : " vstest_${ env.NODE_NAME} " ) {
46
+ sh '''
47
+ #!/bin/bash -xe
40
48
41
49
docker load < target/docker-sonic-vs.gz
42
50
43
51
cd platform/vs/tests
44
52
sudo py.test -v --junitxml=tr.xml
45
- # pavelsh added -s to see output from the pytest
46
53
'''
54
+ }
55
+ }
47
56
}
48
57
}
49
58
Original file line number Diff line number Diff line change @@ -36,11 +36,24 @@ git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $(realpath --rel
36
36
make configure PLATFORM=vs
37
37
make SONIC_CONFIG_BUILD_JOBS=1 target/docker-sonic-vs.gz
38
38
39
+ '''
40
+ }
41
+ }
42
+
43
+ stage(' Test' ) {
44
+ steps {
45
+ wrap([$class : ' AnsiColorBuildWrapper' , ' colorMapName' : ' xterm' ]) {
46
+ lock(resource : " vstest_${ env.NODE_NAME} " ) {
47
+ sh '''
48
+ #!/bin/bash -xe
49
+
39
50
docker load < target/docker-sonic-vs.gz
40
51
41
52
cd platform/vs/tests
42
53
sudo py.test -v --junitxml=tr.xml
43
54
'''
55
+ }
56
+ }
44
57
}
45
58
}
46
59
You can’t perform that action at this time.
0 commit comments