50.sers压测CL-publish.sh 787 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. set -e
  2. #---------------------------------------------------------------------
  3. #(x.1)参数
  4. args_="
  5. export codePath=/root/temp/svn/dotnet
  6. # "
  7. #----------------------------------------------
  8. echo "(x.2)dotnet-publish"
  9. docker run -i --rm \
  10. --env LANG=C.UTF-8 \
  11. -v $codePath:/root/code \
  12. serset/dotnet:6.0-sdk \
  13. bash -c "
  14. set -e
  15. echo 'publish Client'
  16. cd /root/code/Library/Sers/Sers.CL/Test/CommunicationManage/CmClient
  17. dotnet build --configuration Release
  18. dotnet publish --configuration Release --output /root/code/Doc/Publish/CL压测/CmClient
  19. echo 'publish Server'
  20. cd /root/code/Library/Sers/Sers.CL/Test/CommunicationManage/CmServer
  21. dotnet build --configuration Release
  22. dotnet publish --configuration Release --output /root/code/Doc/Publish/CL压测/CmServer
  23. "