心澄欲遣

不践迹,亦不入于室

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

1 dotnetcore

安装svn插件

配置svn路径

添加svn账号

构建触发器 H/5 * * * *

构建 Execute Windows batch command  dotnet publish -o D:\jenkinspublish

 

2 dotnetFramework

安装 MSBuild插件

配置MSbuild路径  MSBuild  D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin(vs2019 msbuild路径)

找到 Nuget .exe  我安装到了 C:\ 路径下

配置svn路径

添加svn账号

构建触发器 H/5 * * * *

构建 Execute Windows batch command  "C:\nuget.exe" restore .\WMS.sln

构建 Build vs xxxxxx 

选择 MSBuild , MSBuild Build File (可以空白)  Command Line Arguments 如下:

/m WMS.sln
/t:Rebuild
/p:Configuration=Release
/p:VisualStudioVersion=16.0
/p:DeployOnBuild=True
/p:OutputPath=D:\jenkinsWMS
/p:TargetFrameworkVersion=v4.6.1

 

posted on 2021-04-16 11:03  心澄欲遣  阅读(72)  评论(0编辑  收藏  举报
欢迎第myspace graphics个访客