History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CCNET-928
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ross Patterson
Reporter: Dan Mastrian
Votes: 6
Watchers: 7
Operations

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

LastSuccessfulIntegrationLabel lags behind by one build, so dependent projects using stateFileLabeller are building with the wrong label

Created: 25/Jun/07 06:18 PM   Updated: 25/Jul/10 12:48 PM
Return to search
Component/s: Labeller
Affects Version/s: 1.3
Fix Version/s: 1.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. File ccnet.config (1 kb)

Issue Links:
Relationship
 
This issue Relates to:
CCNET-899 Bug in CC.NET dashboard last build la... Major Closed
CCNET-948 Build labels for CCTray are out of sy... Trivial Closed


 Description  « Hide
- Set up one project with a defaultlabeller.
- Make a second project with a projectTrigger that watches the first project.
- Make the second project's labeller be a stateFileLabeller referring to the first project.
- Force a build or two of the first project
- Notice that the second project, when it triggers, does NOT have the same label of the first project (which just completed successfully)...it has the label of the *previous* build of the first project.

The issue appears to be that the LastSuccessfulIntegrationLabel element is not ever getting updated in Project1.state upon successful completion of the build (the Label element is, though), and the other project is looking at that element to determine its label.

CCNET 1.1.0.2498 was the last version I used; it did not have this behavior. This issue makes splitting a build (using a stateFileLabeller referring to other projects) very difficult, because the dependent projects constantly get the wrong labels.

 All   Comments   Work Log   Change History      Sort Order:
Change by Dan Mastrian [25/Jun/07 06:19 PM]
Field Original Value New Value
Attachment ccnet.config [ 11120 ]

Change by Dan Mastrian [25/Jun/07 06:21 PM]
Description - Set up one project with a defaultlabeller.
- Make a second project with a projectTrigger that watches the first project.
- Make the second project's labeller be a stateFileLabeller referring to the first project.
- Force a build or two of the first project
- Notice that the second project, when it triggers, does NOT have the same label of the first project (which just completed successfully)...it has the label of the *previous* build of the first project.

CCNET 1.1.0.2498 was the last version I used...it did not have this behavior.
- Set up one project with a defaultlabeller.
- Make a second project with a projectTrigger that watches the first project.
- Make the second project's labeller be a stateFileLabeller referring to the first project.
- Force a build or two of the first project
- Notice that the second project, when it triggers, does NOT have the same label of the first project (which just completed successfully)...it has the label of the *previous* build of the first project.

CCNET 1.1.0.2498 was the last version I used...it did not have this behavior.

This makes splitting a build (using a stateFileLabeller referring to other projects) very difficult.

Change by Dan Mastrian [25/Jun/07 06:29 PM]
Description - Set up one project with a defaultlabeller.
- Make a second project with a projectTrigger that watches the first project.
- Make the second project's labeller be a stateFileLabeller referring to the first project.
- Force a build or two of the first project
- Notice that the second project, when it triggers, does NOT have the same label of the first project (which just completed successfully)...it has the label of the *previous* build of the first project.

CCNET 1.1.0.2498 was the last version I used...it did not have this behavior.

This makes splitting a build (using a stateFileLabeller referring to other projects) very difficult.
- Set up one project with a defaultlabeller.
- Make a second project with a projectTrigger that watches the first project.
- Make the second project's labeller be a stateFileLabeller referring to the first project.
- Force a build or two of the first project
- Notice that the second project, when it triggers, does NOT have the same label of the first project (which just completed successfully)...it has the label of the *previous* build of the first project.

The issue appears to be that the LastSuccessfulIntegrationLabel element is not ever getting updated in Project1.state upon successful completion of the build (the Label element is, though), and the other project is looking at that element to determine its label.

CCNET 1.1.0.2498 was the last version I used; it did not have this behavior. This issue makes splitting a build (using a stateFileLabeller referring to other projects) very difficult, because the dependent projects constantly get the wrong labels.

Change by David Cameron [06/Sep/07 06:07 AM]
Link This issue Relates to CCNET-948 [ CCNET-948 ]

Change by David Cameron [06/Sep/07 06:12 AM]
Link This issue Relates to CCNET-899 [ CCNET-899 ]

Change by Ross Patterson [05/Dec/07 02:26 PM]
Assignee Ross Patterson [ rosspatterson ]

Change by Ross Patterson [05/Dec/07 02:31 PM]
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s Next [ 10302 ]
Resolution Fixed [ 1 ]

Change by Ruben Willems [25/Jul/10 12:48 PM]
Status Resolved [ 5 ] Closed [ 6 ]