How to setup build/deployment for .net project on Jenkins

We currently uses Jenkins for all our (Java) build/deployment from a Linux box. Now we are building a .net client and would like to have a similar automated build/deployment process. I have some research and found the MSBuild plugin for Jenkins. There seems to be two ways to proceed:

  • Install Wine or other VM for Windows on the linux box, then install .net framework so Jenkins can use it for MSBuild
  • Setup a new instance of Jenkins on a Windows machine and have a separate build platform.
  • I am fairly new to the wonderful world of .net so there might be other alternatives that I am not aware of.

    So, how do I setup uild/deployment for .net project on Jenkins?


    I would recommend setting a separate slave on Windows, but run the master from the Linux box. This way you have a centralized way of controlling and monitoring your builds.

    I can't say anything about MSBuild plugin, since for historical reasons we run MS Devenv builds via command line (using ANT as the "glue").

    We build our product (written mostly in C++) for Windows, OS X, iOS, and Android. Our lower-level build system is CMake-based.

    链接地址: http://www.djcxy.com/p/58426.html

    上一篇: 用.NET GUI创建一个Haskell应用程序

    下一篇: 如何在Jenkins上为.net项目设置构建/部署