[ci]: fix artifact download syntax error for vstest (#8547)

Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
Guohan Lu 2021-08-21 14:30:04 -07:00
parent b9d6eb0678
commit 52a59f827e

View File

@ -73,7 +73,7 @@ stages:
source: specific source: specific
project: build project: build
pipeline: 9 pipeline: 9
artifacts: sonic-swss-common.amd64.ubuntu20_04 artifact: sonic-swss-common.amd64.ubuntu20_04
runVersion: 'latestFromBranch' runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master' runBranch: 'refs/heads/master'
displayName: "Download sonic swss common deb packages" displayName: "Download sonic swss common deb packages"
@ -85,8 +85,8 @@ stages:
- script: | - script: |
set -x set -x
sudo dpkg -i --force-confask,confnew ../sonic-swss-common.amd64.ubuntu20_04/libswsscommon_1.0.0_amd64.deb sudo dpkg -i --force-confask,confnew ../libswsscommon_1.0.0_amd64.deb
sudo dpkg -i ../sonic-swss-common.amd64.ubuntu20_04/python3-swsscommon_1.0.0_amd64.deb sudo dpkg -i ../python3-swsscommon_1.0.0_amd64.deb
sudo docker load -i ../target/docker-sonic-vs.gz sudo docker load -i ../target/docker-sonic-vs.gz
docker tag docker-sonic-vs:latest docker-sonic-vs:$(Build.BuildNumber) docker tag docker-sonic-vs:latest docker-sonic-vs:$(Build.BuildNumber)
username=$(id -un) username=$(id -un)