首页 > Web开发 > 详细

用 Jenkins + .netcore 2.0 构建

时间:2018-05-09 19:16:02      阅读:184      评论:0      收藏:0      [点我收藏+]

上一篇是关于 .net framework 框架的, 今天是关于 .netcore 2.0 的

这里为大家分享 配置中踩到的坑

 

cd %WORKSPACE%\"需要还原的项目目录"
dotnet restore --configfile NuGet.Config    这句是关键, vs2017 会默认读取该文件,,但是 命令必须指定!!!
dotnet build --framework netcoreapp2.0 --configuration Release --output bin\Release
dotnet publish --configuration Release --output "输出目录"

 

用 Jenkins + .netcore 2.0 构建

原文:https://www.cnblogs.com/allenxt/p/9015696.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!