Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3321858
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:06:49+00:00 2026-05-17T23:06:49+00:00

Our Software project contains Perl, C & VC++ code. I am trying to set

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:06:50+00:00Added an answer on May 17, 2026 at 11:06 pm

    1) different slaves

    Ok, If I understand you right, you need to run the “same” project on different machines. If they are not dependent on each other, than you can try to use the multi configuration job. You just need to make sure to somehow trigger different build scripts depending on the slaves.

    Usually, the unit tests are run after building the code. The way you describe it, it sounds more like a integration test that involves all three components. In that case you probably need another job for running the unit (?) tests.

    To my knowledge there is no way (besides the multi configuration project) to have different parts of one job run on different slaves. In this case you have to create more than one job and chain them. The advantage of several jobs is the ability to parallelize build steps using the join plugin. Unfortunately, slicing the job creates a lot of clutter and is more difficult to maintain.

    2) Batch file

    Hudson uses the errorlevel (or exit code). To be save you should always set the exit code by calling exit /B <error_code> as the last command of your script. Replace with 0 if successful or a non-zero value for an error. You should also call all your batch files with the call command, e.g. call mybatch.bat Param1 Param2.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For our software we use hardware dongles to protect the software. No protection is
Our software manages a lot of data feeds from various sources: real time replicated
Our software must be able to run on SQL Server 2000 and 2005. To
Our software manages libraries, museums, archives etc. We'd like to let the users (namely
Our clients use a vb6 version of our software. We are upgrading them to
When testing our software on several different systems (98-XP-Vista-Seven-Linux-etc), I think that the best
We just added an autoupdater in our software and got some bug report saying
I've had a bug in our software that occurs when I receive a connection
We noticed that lots of bugs in our software developed in C# (or Java)
We have some files on our website that users of our software can download.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.