NetCore+svn+Jenkins 使用记录

参考链接:https://www.cnblogs.com/subendong/p/13196987.html#4681126

 

jenkins 构建指令

复制脱机htm文件 不停用程序池的官方解决方案之一
xcopy {路径}\app_offline.htm {路径} /s /Q /Y /I


编译指令
dotnet restore
dotnet build
dotnet publish -o "{路径}"

删除脱机文件
del {路径}\app_offline.htm

注意 构建的指令分为了3个部分

 

posted @ 2020-09-16 09:09  o天风o  阅读(274)  评论(0编辑  收藏  举报