How to configure build / deployment of .net project on Jenkins

We are currently using Jenkins for our entire (Java) build / deployment from Linux. Now we are creating 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 seem to be two ways:

  • Install Wine or another Windows virtual machine in a Linux window, then install the .net framework so that Jenkins can use it for MSBuild
  • Set up a new instance of Jenkins on a Windows computer and create a separate build platform.

I am new to the beautiful .net world, so there may be other alternatives that I don't know about.

So how do I configure uild / deployment for a .net project on Jenkins?

+7
source share
1 answer

I would recommend installing a separate slave on Windows, but running the wizard from Linux. Thus, you have a centralized way to control and monitor your builds.

I can’t say anything about the MSBuild plugin, because for historical reasons we run the MS Devenv build through the command line (using ANT as a β€œglue”).

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

+4
source

All Articles