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 984775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:03:55+00:00 2026-05-16T05:03:55+00:00

My workplace uses Hudson for its daily builds, with several build slaves (one Linux,

  • 0

My workplace uses Hudson for its daily builds, with several build slaves (one Linux, one Windows, one Mac) checking out our full codebase from svn and building our app at midnight each day. This all works fairly well.

There is an occasional problem that happens though… sometimes a developer will be working late, and will check in a change to svn just after midnight. When this occurs, it’s possible that some of the daily build slaves will do their ‘svn checkout’ before the svn commit is processed, while other build slaves will do it after the commit is processed. When this happens, we end up with different revisions built on different platforms… e.g. the Mac build might a build of SVN revision 5555, while the Windows build ends up being a build of SVN revision 5556. That’s bad, since we want all of the daily builds for a given day to be based on the same codebase.

I suppose one way to avoid this is to forbid developers to commit to svn between 11:30PM and 12:30AM, but I’d prefer a more elegant solution that doesn’t rely on the developers behavior. Is there one? In particular, if there is a way to tell hudson to check out the revision of the code that was current at midnight of the current day (e.g. “svn co -r{“the-current-date”}”) instead of checking out HEAD, I think that might do the trick.

Is there a common/easy way to handle this problem?

  • 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-16T05:03:56+00:00Added an answer on May 16, 2026 at 5:03 am

    The solution depends a little bit on how you start the builds. If they are all timer started, You can let them all start at the same time. The risk that you end up with different revisions will be minimal. A more elegant version is to have one job that triggers all your build jobs passing the revision as a parameter. If the build is not too long, you can build one job which than passes the revision on to all the other jobs.

    EDIT: Currently the following is not supported by Hudson (1.376)

    I also found a nice svn book. It states that you can replace the revision with a date in curly braces. So you can try <svn-url>@{00:00} in your job configuration.

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

Sidebar

Related Questions

My current workplace uses the standard Spring/Hibernate/JSP mix to serve content to its Flex
My workplace uses XP and I was trying to run the following script on
there is this check-in-out program here at my workplace, it only takes the data
I am evaluating the Hudson build system for use as a centralized, sterile build
So here is the story. I have this device that uses Linux and more
I have setup hudson to check out from my remote git repository but i
So I've run into a bit of an issue. My workplace uses environmental variables
In my workspace, I have my main project and it uses several jars. I
I am working on an Ant build process for an application that uses a
I was contemplating switching to Linux for C++ development, coming from a Windows environment.

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.