新增节点

Linux 只能编译 .NET Core 项目(Mono 的 xbilud 提示版本过期),所以需要安装一个 Widnws 的 Jenkins 节点

image.png

image.png

image.png

配置节点

image.png

标签是用来绑定 Job 的,所以一定要填

image.png

image.png

启动节点

image.png

image.png

报错:Building on the controller node can be a security issue. You should set the number of executors on the controller to 0. See the documentation

构建环境

新建一个自由项目,指定项目运行在从节点

image.png

让后在子节点安装 GIt、Microsoft Build Tools

image.png

image.png

https://www.microsoft.com/zh-CN/download/details.aspx?id=42334

下载 clearcompressionflag 和 Windows8.1-KB2919355-x64,然后依次运行,否则有如下提示:

image.png

补丁打好以后,重启电脑,然后安装 Visual Studio