Skip to content

Commit

Permalink
[mgmt] Fix sonic-mgmt pr test no result issue (sonic-net#117)
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Wang <[email protected]>
  • Loading branch information
wangxin authored Jun 19, 2020
1 parent e84d4a9 commit c267563
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/mgmt/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

echo ${JOB_NAME##*/}.${BUILD_NUMBER}

tbname=vms-kvm-t0

docker login -u $REGISTRY_USERNAME -p $REGISTRY_PASSWD sonicdev-microsoft.azurecr.io:443
docker pull sonicdev-microsoft.azurecr.io:443/docker-sonic-mgmt:latest

Expand All @@ -20,4 +22,4 @@ sed -i s:use_own_value:johnar: veos.vtb
echo abc > password.txt
popd

docker run --rm=true -v $(pwd):/data -w /data -i sonicdev-microsoft.azurecr.io:443/docker-sonic-mgmt ./scripts/vs/buildimage-vs-image/runtest.sh
docker run --rm=true -v $(pwd):/data -w /data -i sonicdev-microsoft.azurecr.io:443/docker-sonic-mgmt ./scripts/vs/buildimage-vs-image/runtest.sh $tbname

0 comments on commit c267563

Please sign in to comment.