Re: Configuring xbuild on Jenkins server hosted on windows or Linux
Marco Ridoni <[email protected]> Sun, 30 Apr 2017 09:50:49 +0200
| Newsgroups | gmane.comp.gnome.mono.general |
|---|---|
| Message-ID | <CALerBk3CZ-CPNLXR9w58MTa2X5YV_EjLFisOUCSHcmzdde0z9w@mail.gmail.com> |
--===============3547288793275743096== Content-Type: multipart/alternative; boundary=94eb2c03bfd6b54d18054e5d90bc --94eb2c03bfd6b54d18054e5d90bc Content-Type: text/plain; charset=UTF-8 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 <[email protected]>: > 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 [email protected] > Skype ID sehgal.nikhil > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.dot.net/mailman/listinfo/mono-list > > --94eb2c03bfd6b54d18054e5d90bc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">It works mostly the same, I use this same workflow, and th= e main difficulty lies in the differences between the build environments th= at can break the build, i.e:<div><br></div><div>- Linux is case-sensitive, = Windows is not, so pay attention to filenames</div><div>- If you have alway= s built on Windows, pay attention to "stray" files, needed for th= e build but not present in your SVN/Git/whatever repository</div><div>- 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</div><d= iv><br></div><div>In case you have to (and can) work around these, just cre= ate a new build configuration, or a different solution file to be used by J= enkins. 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 f= ly.</div><div><br></div><div>m.</div></div><div class=3D"gmail_extra"><br><= div class=3D"gmail_quote">2017-04-30 8:57 GMT+02:00 nikhil sehgal <span dir= =3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">nik= [email protected]</a>></span>:<br><blockquote class=3D"gmail_quote" sty= le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all= ,<div><br></div><div>I would like to configure my Jenkins build server to b= uild my code using xbuild so if my code have something incompatible with mo= no it should break.</div><div><br></div><div>My question is do I need to co= nfigure my Jenkins server on Linux only so it use xbuild for Linux to build= my code .?</div><div><br></div><div>Or</div><div><br></div><div>If my Jenk= ins server is configured on windows and using xbuild for windows it's s= ame as on Linux?</div><div><br></div><div>Regards=C2=A0</div><span class=3D= "HOEnZb"><font color=3D"#888888"><div>Nikhil</div><div dir=3D"ltr">-- <br><= /div><div data-smartmail=3D"gmail_signature"><div>Thanks & Regards</div= ><div>NIkhil Sehgal</div><div>Mobile No 9711855929</div><div>Email Id <a hr= ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]= </a></div><div>Skype ID sehgal.nikhil</div></div> </font></span><br>______________________________<wbr>_________________<br> Mono-list maillist=C2=A0 -=C2=A0 <a href=3D"mailto:[email protected]"= >[email protected]</a><br> <a href=3D"http://lists.dot.net/mailman/listinfo/mono-list" rel=3D"noreferr= er" target=3D"_blank">http://lists.dot.net/mailman/<wbr>listinfo/mono-list<= /a><br> <br></blockquote></div><br></div> --94eb2c03bfd6b54d18054e5d90bc-- --===============3547288793275743096== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTW9uby1saXN0 IG1haWxsaXN0ICAtICBNb25vLWxpc3RAbGlzdHMuZG90Lm5ldApodHRwOi8vbGlzdHMuZG90Lm5l dC9tYWlsbWFuL2xpc3RpbmZvL21vbm8tbGlzdAo= --===============3547288793275743096==--