jenkins
.net core 本地 iis build & deploy
cd "%WORKSPACE%\jenkinsTest" dotnet publish -o "D:\jenkins\publish\%JOB_NAME%\%BUILD_NUMBER%" C:\Windows\System32\inetsrv\appcmd.exe stop apppool /apppool.name:"netcore" xcopy "D:\jenkins\publish\%JOB_NAME%\%BUILD_NUMBER%" "D:\WebSite\AppService\" /s/e/y/exclude:D:\jenkins\exclude.txt C:\Windows\System32\inetsrv\appcmd.exe start apppool /apppool.name:"netcore"
控制台中文乱码解决办法
windows 系统环境变量添加
JAVA_TOOL_OPTIONS
-Dfile.encoding=UTF-8
运行时解决乱码
set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 CHCP 65001