Issue Details (XML | Word | Printable)

Key: CONTINUUM-2232
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Maria Catherine Tan
Reporter: Wendy Smoak
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Continuum

Continuum ignores duplicate projects in forced and scheduled builds

Created: 14/May/09 06:41 PM   Updated: 22/May/09 07:47 PM   Resolved: 22/May/09 02:17 AM
Return to search
Component/s: None
Affects Version/s: 1.3.2
Fix Version/s: 1.3.3

Time Tracking:
Not Specified

Complexity: Intermediate


 Description  « Hide

When there are duplicate projects being built at one time, Continuum ignores the duplicates and only builds one of them. (See ProjectSorter.java) It prints a log message, but there is nothing visible in the web ui.

Continuum considers projects with the same groupId:artifactId:version as duplicates, so for example you can't built both the trunk and a branch with the same version in the one group (or even in different groups if they are on the same build schedule.)

It should probably warn if you add duplicates to a group.

If you click 'build all' and it is not going to build everything, it should tell you.

For scheduled builds there should be some indication of why a project was not built.



Maria Catherine Tan added a comment - 21/May/09 07:01 PM

I think we should just prevent adding duplicates to a group. WDYT?


Wendy Smoak added a comment - 21/May/09 10:27 PM

Preventing addition is fine with me.

Do we need to do anything about existing instances that already have duplicates? A user who upgrades is still going to have this problem... maybe a mention in the release notes is sufficient.

(Actually I was thinking recently that we need a "health check" utility. I'll open a separate issue for that.)


Maria Catherine Tan added a comment - 22/May/09 01:05 AM

I don't think we need to do anything anymore with existing instances. Will just mention this in the release notes.


Maria Catherine Tan added a comment - 22/May/09 02:17 AM

Fixed in
r777411 of 1.3.x branch
r777412 of trunk

  • prevent addition of duplicate projects to same group
  • allow duplicate projects from different group to be added in build queue during scheduled builds
  • log why project is not building during forced/scheduled build

Wendy Smoak added a comment - 22/May/09 08:39 AM

Has the documentation already been updated for this behavior change, or is there a separate issue for that?


Maria Catherine Tan added a comment - 22/May/09 07:42 PM

It's a separate issue and i think jev already did those


Wendy Smoak added a comment - 22/May/09 07:47 PM

Jev, can you please find the issue and link it here?

When I search for this issue key in my email archives, I don't see any docs touched, and there are no related issues.