jenkins

.net core 本地 iis build & deployapp

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"
相關文章
相關標籤/搜索