[Mono-list] Configuring xbuild on Jenkins server hosted on windows or Linux
Marco Ridoni
m.ridoni at gmail.com
Sun Apr 30 07:50:49 UTC 2017
It works mostly the same, I use this same workflow, and the main difficulty
lies in the differences between the build environments that can break the
build, i.e:
- Linux is case-sensitive, Windows is not, so pay attention to filenames
- If you have always built on Windows, pay attention to "stray" files,
needed for the build but not present in your SVN/Git/whatever repository
- If you run external tools during your build, check that they are
available on Linux too, and that their arguments (paths, etc.) can work on
Linux
In case you have to (and can) work around these, just create a new build
configuration, or a different solution file to be used by Jenkins. As a
rule, I set up Jenkins to make a fresh checkout of the source tree and
build from there, so any incompatibilities can be spotted on the fly.
m.
2017-04-30 8:57 GMT+02:00 nikhil sehgal <nikhil.jiet at gmail.com>:
> Hi all,
>
> I would like to configure my Jenkins build server to build my code using
> xbuild so if my code have something incompatible with mono it should break.
>
> My question is do I need to configure my Jenkins server on Linux only so
> it use xbuild for Linux to build my code .?
>
> Or
>
> If my Jenkins server is configured on windows and using xbuild for windows
> it's same as on Linux?
>
> Regards
> Nikhil
> --
> Thanks & Regards
> NIkhil Sehgal
> Mobile No 9711855929
> Email Id nikhil.jiet at gmail.com
> Skype ID sehgal.nikhil
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.dot.net
> http://lists.dot.net/mailman/listinfo/mono-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20170430/5c27c9cf/attachment.html>
More information about the Mono-list
mailing list