The SCM stuff is completely separate in a way, you can manage that differently. For building a .NET application on Linux, you need to install mono and possibly a package which contains xbuild (this will vary depending on your distro). To use xbuild instead of msbuild, you just need to setup the path to xbuild in the global config area for the msbuild plugin and then select that msbuild install when you setup the job. The msbuild plugin asks for various pieces of information for building. I recommend trying to build your application on the command line on Windows using msbuild to figure out what command line parameters you need in order for it to build the application how you want. Be warned that xbuild may not implement all of the features of msbuild (if you find any that it doesn't, you can file an issue at bugzilla.xamarin.com PLEASE!). For information on using xbuild see [1] and [2]. It's been a while since I used xbuild on Linux to do this, but it should be doable if your app doesn't have any unmanaged components. Feel free to ask more questions as well, and if you do it is always helpful to post build logs, and screen shots of your global and project configs.
slide [1] http://www.mono-project.com/Microsoft.Build [2] http://www.mono-project.com/Porting_MSBuild_Projects_To_XBuild On Tue, Jun 5, 2012 at 12:22 PM, Steve Berg <steven.b...@verizon.com> wrote: > OK--where can I find how to use msbuild in Jenkins in a linux environment > (for a C# program stored in Subversion)? > > On Tuesday, June 5, 2012 2:03:04 PM UTC-5, slide wrote: >> >> You may want to look at the msbuild plugin, it should work with dbuikd >> which is the mono implementation of msbuild. You'd need to install mono and >> build for sure. >> >> Sent from my Windows Phone >> ________________________________ >> From: Steve Berg >> Sent: 6/5/2012 11:52 AM >> To: jenkinsci-users@googlegroups.com >> Subject: Re: Understanding Console Output >> >> It's a C# program. The only experience I have building C# programs is in >> Visual Studio. Jenkins is pulling the source from Subversion. >> >> On Tuesday, June 5, 2012 1:48:23 PM UTC-5, LesMikesell wrote: >>> >>> On Tue, Jun 5, 2012 at 1:39 PM, Steve Berg <steven.b...@verizon.com> >>> wrote: >>> > Thank you, Les. I'm new to Jenkins but beginning to make some >>> > progress. >>> > Yes, this is a linux system (CentOS). Where can I learn about commands >>> > to >>> > execute builds on linux? (I'll talk to our network guy about the mail >>> > service.) >>> >>> The command to execute would depend on the language and type of build >>> job. For the general case you can supply a shell script with whatever >>> commands you need in the same way batch files might be used in >>> windows. For a C program 'make' might be all you need, or java might >>> have an ant build. >>> >>> -- >>> Les Mikesell >>> lesmikes...@gmail.com -- Website: http://earl-of-code.com