smartsensor

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

 

分类:

技术点:

相关文章:

  • 2021-11-30
  • 2021-09-08
  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2021-05-08
相关资源
相似解决方案