一、Jenins+GitHub
另外需要配置Global Tool Configuration

如果没有安装git,需下载安装,下载地址
二、jenkins发布donet core应用
1.配置MSBuild
1.1安装Visual Studio 2017生成工具,下载地址
1.2配置jenkins Global Tool Configuration

2.安装.NET Core SDK,下载地址
3.jenkins配置
3.1构建一个自由风格的软件项目

3.2配置git

4.构建触发器

5.构建步骤增加一个windows批处理的步骤
dotnet restore
dotnet build
dotnet publish
效果

网友评论