Howdy - I've been using cc.rb for a month or two now and just recently
updated to 1.2.1. All was fine until I added lines such as this to several
of my projects:

  # This build is triggered only by the successful completion of the named
project
  project.triggered_by = [SuccessfulBuildTrigger.new(project,
"LightPermits")]

I am trying to do the setup where some of the builds are not triggered by
svn checkins, but rather by a successful build of another project. In this
case, I want a fast unit test build, and then if that succeeds run the
slower integration tests.

The problem I am seeing is that the webapp dashboard is now showing many
duplicates. Instead of the 6 projects that there should be, I am seeing 11.
Strange that it is 11 rather than 12 - it doesn't duplicate all of them - it
seems to not duplicate the one that is first alphabetically.

I've attached a static html version (ccrb.html) of what the dashboard looks
like when it first loads - I got this by using a commandline tool called
graburl. What is interesting is that in both IE and Firefox, when this is
rendered, the first project is rendered differently from the others. Somehow
both IE and Firefox are seeing the first div end prematurely. I don't
understand why - I even pulled the HTML into an XML editor and the tags all
look balanced properly (although there are a couple of <br> tags that are
not self-closing.)

When I view the dashboard in a real browser, I see this view for a few
seconds, and then I think what happens is the PeriodicalExecuter runs and
that is when the duplication happens.

Looking at the javascript, I see this:

page.replace_html('projects', :partial => 'project', :collection =>
@projects) unless @projects.empty?
page.replace_html('projects', :partial => 'no_projects') if @ projects.empty
?

in app/views/projects/index_js.rjs

I'm a complete Ruby newbie, so any help with pointers for debugging things
would be welcome.
Title: CruiseControl.rb
eanderson committed the checkin

Comments:
Move tests into suites. Use a common test for the database check

sdonie committed the checkin

Comments:
Relative path for the com.drillinginfo.webapp.path property. This will work in the automated/cruise builds, but may not work for manual builds of just webapp.

sdonie committed the checkin

Comments:
Relative path for the com.drillinginfo.webapp.path property. This will work in the automated/cruise builds, but may not work for manual builds of just webapp.

builder down
sdonie committed the checkin

Comments:
Relative path for the com.drillinginfo.webapp.path property. This will work in the automated/cruise builds, but may not work for manual builds of just webapp.

sdonie committed the checkin

Comments:
Relative path for the com.drillinginfo.webapp.path property. This will work in the automated/cruise builds, but may not work for manual builds of just webapp.

sdonie committed the checkin

Comments:
Relative path for the com.drillinginfo.webapp.path property. This will work in the automated/cruise builds, but may not work for manual builds of just webapp.