[users at bb.net] Setting up a buildslave with Visual Studio environment

Christoph Spielmann christoph.spielmann at machineering.de
Thu Apr 19 14:10:31 UTC 2018


Hi Hugh,

I think i can say some words concerning this topic as we are running 4 
buildslaves here all running on windows, all using visual studio to 
build our software for x86 and x64 architectures for a couple of years now

It took me a while to get everything set up (plus every now and then the 
buildslaves still misbehave but usually kicking them a few times gets 
them back in track). I can assure you that running vcvarsall.bat works 
because we need it in various steps during our builds and once i got it 
right, this is the smallest problem i encountered in conjunction with 
windows buildslaves! Most problems i see is with the inability of MS to 
properly clean up their operating systems (in the week before easter my 
buildslaves started to act up again and as usual the hdd's were 
completely full, running Disk Cleanup helped a little but still was not 
enough but when i ran ccleaner it freed 
190GB(!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!) of trash in the 
temp-directory under c:\windows (go figure...).

So for your information here is one of our buildsteps using vcvarsall.bat:

buildFactory.addStep(ShellCommand(name="nmake (release)", 
command=["call", "c:\\program files (x86)\\microsoft visual studio 
10.0\\vc\\vcvarsall.bat", WithProperties("%s","arch"), "&&", "nmake", 
"nightly"],
workdir="build\\..\\installer",haltOnFailure=True))

If you need further assistance just shout maybe i can help out...

Cheers,

Christoph

Am 18.04.2018 um 01:07 schrieb Hugh Sorby:
>
> Hi Buildbot team,
>
>
> My current Buildbot 0.8.7p1 that I have running has Windows build 
> slaves that build with Visual studio.  To set them up I had to 
> painstakingly copy across the environment variables as I could never 
> get the vcvarsall.bat to run and setup the environment correctly for 
> the build.
>
>
> My question is has anything changed for setting up windows slaves in 
> 1.1.0?
>
>
> I also now require that I run the intel environment setup script as 
> well so it is not just for visual studio.
>
>
> Cheers,
>
>
>
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users


-- 
-------------------------------------------
Dipl.-Ing. Christoph Spielmann

machineering GmbH & Co. KG
Simulation und Automatisierung

Wessobrunnerstr. 4
81377 München

Tel.: +49(0)89 7800 5274
Mobil: +49(0)1731958836
Mail: christoph.spielmann at machineering.de
Web: www.machineering.de
--------------------------------------------
machineering GmbH & Co. KG, HRA 94550, Amtsgericht München
machineering Verwaltungs-GmbH, HRB 181877, Amtsgericht München
Ust-IdNr.: DE268988178, StNr.: 148/212/30579
Geschäftsführung: B.Freyer
--------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20180419/25fc8deb/attachment.html>


More information about the users mailing list