Hi,

I need to force dependent ccnet  projects (X1.Xn) only if ccnet project (B) 
was forced by main library project (A). Project B servers as library repo 
(it only updates libraries from SVN when project A modified something). The 
dependent projects Xn need to be build upon results of the project A (that 
are now up-to-date on the CI sever as project B was forced by A) and are 
commiting the build artifacts to the same repository (since they are 
generating version specific libraries for our dev projects) so i have to be 
able to say that forcebuild of dependent projects has to be done only if 
the project B was forced by project A and not by interval trigger as it's 
about to be triggered anyway after projects Xn are finished building (to 
just sync dll dir for other dev CI).

But when I have following configuration in the  publisher block of project 
B the ForceBuildPublisher fails and dependent projects aren't triggered.But 
the ForceBuildPublisher without the condition block in project A is 
triggreing project B as expected.

<conditional> 
<conditions>
<buildCondition value="ForceBuild" />
</conditions>
<tasks>
<forcebuild> 
<project>Xn</project>
<integrationStatus>Success</integrationStatus> 
</forcebuild>
</tasks>
</conditional>

Logs
2013-11-13 13:31:33,736 [AIS_DLL:DEBUG] Checking conditions
2013-11-13 13:31:33,736 [AIS_DLL:DEBUG] Checking build condition - matching 
to ForceBuild
2013-11-13 13:31:33,736 [AIS_DLL:INFO] Conditions passed - running tasks
2013-11-13 13:31:33,736 [AIS_DLL:DEBUG] Starting task 'ForceBuildPublisher 
[0]'
2013-11-13 13:31:33,736 [AIS_DLL:INFO] Tasks completed: 0 successful, 1 
failed
2013-11-13 13:31:33,736 [AIS_DLL:INFO] Integration complete: Failure - 
11/13/2013 1:31:33 PM

Can anyone please help me out of this. I can't see where i went wrong.

One funny thing, we need to keep also builds of libraries for version x 
customer combination as some customers don't want to pay for upgrade and we 
have SLAs with them.

Help is really appreciated. Thanks

z






-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to