Our Software project contains Perl, C & VC++ code. I am trying to set up Hudson in the master/slave configuration to manage the build & test process. I have one linux box running as master and windows XP (32-bit), Windows 7 (64-bit), linux boxes running as slaves. The build process involves building specific parts of the project on specific machines. So I want to build 32-bit version of our VC++ code on XP box & 64-bit version on Windows 7. Similarly, I have to compile the C code on linux box using gcc. And finally when all is done, kick off the Perl unit tests to ensure all is fine.
There are two questions related to this:
1) I couldn't figure out where in the configuration of a job can I say "run build-32.bat on windows xp slave" & "run build-64.bat on Windows 7 slave" and so on. So in short, I am trying to tie specific parts of the build process to specific slaves. How can I do that?
2) When I run the batch files to complete the build process, how does Hudson know whether my build was successful or not? I couldn't find any part where I can capture the build scripts output & analyze it. Or should I be doing it some other way?
Thanks for your help.