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

  • Home
  • SEARCH
  • 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 833335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:30:08+00:00 2026-05-15T04:30:08+00:00

OUR CURRENT BUILD PROCESS We’re a small team of developers (2 to 4 people

  • 0

OUR CURRENT BUILD PROCESS

We’re a small team of developers (2 to 4 people depending on project) who currently use Phing to deploy code to a staging environment, before going live. We keep our code in a SVN repo, where the trunk holds current active development and, at certain times, we do make branches that we test and then (if successful), tag and export to the staging env. If everything goes well there too, we finally deploy’em in production servers.
Actions are highly automated, but always triggered by human intervention.


THE DOUBT

We’d now like to introduce Continuous Integration (with Hudson) in the process; unfortunately we have a few doubts about activity syncing, since we’re afraid that CI could somewhat interfere with our build process and cause certain problems.

Considering that an automated CI cycle has a certain frequency of automatically executed actions, we see 2 possible cases for “integration”, each with its own problems:

  1. Case A: each CI cycle produces a new
    branch with its own name; we do use
    such a name to manually (through
    phing as it happens now) export the
    code from the SVN to the staging
    env. The problem I see here is that
    (unless specific countermeasures are
    taken – IE deletion) the number of branches we
    have can easily grow out of control (let’s
    suppose we commit often, so that we
    have a fresh new build/branch every
    N minutes).

  2. Case B: each CI cycle creates a new
    branch named ‘current’, which is then tagged with a
    unique name only when we manually
    decide to export it to staging; the
    current branch, at any case is then
    deleted, as soon as the next CI
    cycle starts up. The problem we see
    here is that a new cycle could kick
    in while someone is
    tagging/exporting the ‘current’
    branch to staging thus creating an
    inconsistent build (but maybe here
    I’m just too pessimist, since I
    confess I don’t know whether SVN
    offers some built-in protection
    against this).


With all this being said, I was wondering if anyone with similar experiences could be so kind to give us some hints on the subject, since none of the approaches depicted above looks completely satisfing to us.

Is there something important we just completely left off in the overall picture?
Thanks for your attention & (in advance) 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-15T04:30:08+00:00Added an answer on May 15, 2026 at 4:30 am

    In both options you start with “each CI cycle produces a new branch”. Don’t do that. You want to keep your number of branches to the minimum and always under control (manually created) to avoid that your project becomes a mess. The decision of whether the development in the mainline is ready and you can produce a release candidate (branch from the trunk) is not trivial.

    CI cycles are triggered by changes in the code to ensure that the integration of those changes doesn’t break the application. Therefore, you’d rather set up a project in Hudson for each active stream of development, this is, one for the mainline, one for the branch that represents the production version (for bug-fixing) and eventually one for the RC.

    Martin Fowler’s article about Continuous Integration is an excellent guide to the whys and hows of CI implementation.

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

Sidebar

Related Questions

VS2005 C# Compiler crashes during our team's nightly build process. I attach to it
We're getting ready to build a new platform for our current system. Currently we
So, let me describe our current situation. We are a small team (6) of
So we've been running a daily build on our current project for a lot
Right now, we have a small team of developers using TFS for our version
I am currently enhancing the release process of our projects on Jenkins (1.430). Current
Our current MVC project is set up to have ViewModels that encapsulate the data
Our current project has ran into a circular dependency issue. Our business logic assembly
in our current project we are using ADO.NET Entity Framework as data layer for
For our current J2EE project based on JBoss, we need to interface with a

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.