Hi All,
I'm running Telelogic Synergy 6.5 SP2 with CC 2.7.3. I'd like to
be able to automate the complete build process. I have few hindrances
and unable to progress further. I hope I would get some help.
I have a project checkout for build manager in CM Synergy. In
Reconfigure Properties, the settings are:- "Use Reconfigure Template",
Project Grouping - "My Project_1.0 Insulated Development Projects",
Baseline Project is empty and has 3 folders which contains the tasks
to be used for build. When I manually try to reconfigure the project
from CM Synergy using Build Manger, I am able to reconfigure the
project. However I am unable to reconfigure the project from cruise
control though it queries the new tasks and fills the folder used for
project reconfigure. I am running ccnet.exe from command line. What
I want cruise control to do for me is:-
1) Get the latest tasks for a project with particular release and
fill the folder.
2) Reconfigure the project with the lastest tasks folder. (Note that
there is no baseline used for this project. This is a new project, so
new setup)
3) Recursively update the project.
3) Detect modifications in tasks.
3) Build the project if any new tasks are added.
CC successfully gets the new tasks to folder but it throws a message
"No modifications detected". My ccnet.config file is as follows:-
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
<cruisecontrol>
<!-- This is your CruiseControl.NET Server Configuration file.
Add your projects below! -->
<project>
<name>ProjectName</name>
<sourcecontrol type="synergy">
<connection>
<host>cm0</host>
<database>db</database>
<workingDirectory>D:\Program Files\Telelogic\Telelogic Synergy
6.5\bin\</workingDirectory>
<executable>ccm.exe</executable>
<username>bldmgr</username>
<password>pw</password>
<role>build_mgr</role>
<homeDirectory>D:\ccm_wa\db\Project~1.0_bldmgr\Project</
homeDirectory>
<clientDatabaseDirectory>D:\ccm_wa\db</
clientDatabaseDirectory>
<polling>true</polling>
<timeout>3600</timeout>
</connection>
<project>
<release>Prj_1.0</release>
<projectSpecification>Project~1.0_bldmgr</
projectSpecification>
<taskFolder>88</taskFolder>
<baseline>false</baseline>
<purpose>Integration Testing</purpose>
<template>true</template>
<reconcile>true</reconcile>
</project>
</sourcecontrol>
</project>
</cruisecontrol>
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
The log that ccnet gives me is as follows:-
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2008-11-06 15:15:25,179 [CCNet Server:DEBUG] The trace level is
currently set to debug. This will cause CCNet to log at the most
verbose level, which is useful for setting up or debugging the
server. Once your server is running smoothly, we recommend changing
this setting in D:\Program Files\CruiseControl.NET\server
\ccnet.exe.config to a lower level.
2008-11-06 15:15:25,210 [CCNet Server:INFO] Reading configuration file
"D:\Program Files\CruiseControl.NET\server\ccnet.config"
2008-11-06 15:15:25,710 [CCNet Server:INFO] Registered channel: tcp
2008-11-06 15:15:25,710 [CCNet Server:INFO] CruiseManager: Listening
on url: tcp://10.91.52.42:21234/CruiseManager.rem
2008-11-06 15:15:25,725 [CCNet Server:INFO] Starting CruiseControl.NET
Server
2008-11-06 15:15:25,725 [Project:INFO] Starting integrator for
project: Project
2008-11-06 15:16:25,443 [Project:INFO] Project: 'Project' is added to
queue: 'Project' in position 0.
2008-11-06 15:16:25,553 [Project:INFO] Project: 'Project' is first in
queue: 'Project' and shall start integration.
2008-11-06 15:16:27,240 [Project:DEBUG] Queued for critical section to
open CM Synergy session; blocking until lock is acquired.
2008-11-06 15:16:27,240 [Project:DEBUG] Acquired lock to open a
session
2008-11-06 15:16:27,256 [Project:DEBUG] Starting process [D:\Program
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe] in working
directory [D:\Program Files\Telelogic\Telelogic Synergy 6.5\bin\] with
arguments [start -nogui -q -m -h "cm0" -d "/db" -p
"Project~1.0_bldmgr" -n "bldmgr" -pw "password" -r "build_mgr" -u "D:
\ccm_wa\db" -home "D:\ccm_wa\db\Project~1.0_bldmgr\Project"]
2008-11-06 15:16:37,334 [Project:DEBUG] INHYD1035:3720:10.91.52.42
2008-11-06 15:16:37,365 [Project:DEBUG] Releasing lock to open a
session
2008-11-06 15:16:37,365 [Project:INFO] CCM_ADDR set to
'INHYD1035:3720:10.91.52.42'
2008-11-06 15:16:37,365 [Project:DEBUG] Starting process [D:\Program
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe] in working
directory [D:\Program Files\Telelogic\Telelogic Synergy 6.5\bin\] with
arguments [delimiter]
2008-11-06 15:16:38,006 [Project:DEBUG] ~
2008-11-06 15:16:38,006 [Project:DEBUG] Starting process [D:\Program
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe] in working
directory [D:\Program Files\Telelogic\Telelogic Synergy 6.5\bin\] with
arguments [properties /format "%objectname" /p "Project~1.0_bldmgr"]
2008-11-06 15:16:38,193 [Project:DEBUG]
Project~1.0_bldmgr:project:PIP#1
2008-11-06 15:16:38,193 [Project:DEBUG] Starting process [D:\Program
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe] in working
directory [D:\Program Files\Telelogic\Telelogic Synergy 6.5\bin\] with
arguments [info /format "%wa_path\%name" /project
"Project~1.0_bldmgr"]
2008-11-06 15:16:38,287 [Project:DEBUG] D:\ccm_wa\db\Project~1.0_bldmgr
\Project
2008-11-06 15:16:38,287 [Project:INFO] Project~1.0_bldmgr work area is
'D:\ccm_wa\db\Project~1.0_bldmgr\Project'
2008-11-06 15:16:38,287 [Project:DEBUG] Starting process [D:\Program
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe] in working
directory [D:\Program Files\Telelogic\Telelogic Synergy 6.5\bin\] with
arguments [query
hierarchy_project_members('Project~1.0_bldmgr:project:PIP#1', 'none')]
2008-11-06 15:16:38,396 [Project:DEBUG] Query expression must be
specified.
2008-11-06 15:16:38,412 [Project:DEBUG] Starting process [D:\Program
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe] in working
directory [D:\Program Files\Telelogic\Telelogic Synergy 6.5\bin\] with
arguments [attribute /m release /v "Prj_1.0" @ ]
2008-11-06 15:16:38,490 [Project:DEBUG] Starting process [D:\Program
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe] in working
directory [D:\ccm_wa\db\Project~1.0_bldmgr\Project] with arguments
[reconfigure_properties /reconf_using template /recurse
"Project~1.0_bldmgr"]
2008-11-06 15:16:38,803 [Project:DEBUG] WARNING: Could not identify
baseline project for 'Project~1.0_bldmgr' matching baseline selection
criteria of process rule.
2008-11-06 15:16:38,865 [Project:DEBUG] Project~1.0_bldmgr has been
set to update using a process rule.
2008-11-06 15:16:38,881 [Project:DEBUG] Starting process [D:\Program
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe] in working
directory [D:\ccm_wa\db\Project~1.0_bldmgr\Project] with arguments
[status]
2008-11-06 15:16:39,021 [Project:DEBUG] Sessions for user bldmgr:
2008-11-06 15:16:39,021 [Project:DEBUG]
2008-11-06 15:16:39,021 [Project:DEBUG] Command Interface @
INHYD1035:1445:10.91.52.42
2008-11-06 15:16:39,021 [Project:DEBUG] Database: /db
2008-11-06 15:16:39,021 [Project:DEBUG]
2008-11-06 15:16:39,037 [Project:DEBUG] Command Interface @
INHYD1035:3720:10.91.52.42 (current session)
2008-11-06 15:16:39,037 [Project:DEBUG] Database: /db
2008-11-06 15:16:39,037 [Project:DEBUG]
2008-11-06 15:16:39,037 [Project:DEBUG] Graphical Interface @
INHYD1035:1940:10.91.52.42
2008-11-06 15:16:39,037 [Project:DEBUG] Database: /db
2008-11-06 15:16:39,115 [Project:DEBUG]
2008-11-06 15:16:39,115 [Project:DEBUG] Current project:
'Project~1.0_bldmgr'
2008-11-06 15:16:39,146 [Project:DEBUG] Starting process [D:\Program
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe] in working
directory [D:\ccm_wa\db\Project~1.0_bldmgr\Project] with arguments
[reconfigure_properties /refresh /recurse "Project~1.0_bldmgr"]
2008-11-06 15:16:39,271 [Project:DEBUG] Refreshing baseline and tasks
for project grouping 'My Project_1.0 Insulated Development Projects'.
2008-11-06 15:16:39,334 [Project:DEBUG] Replacing tasks in folder
PIP#85
2008-11-06 15:16:39,350 [Project:DEBUG] Contents of folder PIP#85
have not changed.
2008-11-06 15:16:39,365 [Project:DEBUG] Replacing tasks in folder
PIP#88
2008-11-06 15:16:39,490 [Project:DEBUG] Added the following tasks to
folder PIP#88
2008-11-06 15:16:39,490 [Project:DEBUG] Task PIP#7762: Dummy task to
test build automation 1
2008-11-06 15:16:39,490 [Project:DEBUG] Task PIP#7766: Dummy task to
test build automation 2
2008-11-06 15:16:39,490 [Project:DEBUG] Task PIP#7773: Dummy task to
test build automation 3
2008-11-06 15:16:39,490 [Project:DEBUG] Task PIP#7777: Dummy task to
test build automation 4
2008-11-06 15:16:39,506 [Project:DEBUG] Task PIP#7781: Dummy task to
test build automation 5
2008-11-06 15:16:39,506 [Project:DEBUG] Task PIP#7782: Dummy task to
test build automation 6
2008-11-06 15:16:39,506 [Project:DEBUG] Task PIP#7784: Dummy task to
test build automation 7
2008-11-06 15:16:39,506 [Project:DEBUG] Task PIP#7785: Dummy task to
test build automation 8
2008-11-06 15:16:39,506 [Project:DEBUG] Task PIP#7786: Dummy task to
test build automation 9
2008-11-06 15:16:39,506 [Project:DEBUG]
2008-11-06 15:16:40,334 [Project:DEBUG] WARNING: Could not identify
baseline project for 'Project~1.0_bldmgr' matching baseline selection
criteria of process rule.
2008-11-06 15:16:40,381 [Project:DEBUG] Starting process [D:\Program
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe] in working
directory [D:\ccm_wa\db\Project~1.0_bldmgr\Project] with arguments
[status]
2008-11-06 15:16:40,490 [Project:DEBUG] Sessions for user bldmgr:
2008-11-06 15:16:40,490 [Project:DEBUG]
2008-11-06 15:16:40,490 [Project:DEBUG] Command Interface @
INHYD1035:1445:10.91.52.42
2008-11-06 15:16:40,490 [Project:DEBUG] Database: /db
2008-11-06 15:16:40,490 [Project:DEBUG]
2008-11-06 15:16:40,506 [Project:DEBUG] Command Interface @
INHYD1035:2345:10.91.52.42
2008-11-06 15:16:40,506 [Project:DEBUG] Database: /db
2008-11-06 15:16:40,506 [Project:DEBUG]
2008-11-06 15:16:40,506 [Project:DEBUG] Command Interface @
INHYD1035:3720:10.91.52.42 (current session)
2008-11-06 15:16:40,506 [Project:DEBUG] Database: /db
2008-11-06 15:16:40,506 [Project:DEBUG]
2008-11-06 15:16:40,506 [Project:DEBUG] Graphical Interface @
INHYD1035:1940:10.91.52.42
2008-11-06 15:16:40,506 [Project:DEBUG] Database: /db
2008-11-06 15:16:40,537 [Project:DEBUG]
2008-11-06 15:16:40,537 [Project:DEBUG] Current project:
'Project~1.0_bldmgr'
2008-11-06 15:16:40,537 [Project:DEBUG] Starting process [D:\Program
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe] in working
directory [D:\ccm_wa\db\Project~1.0_bldmgr\Project] with arguments
[query /type task /format "%displayname #### %task_number ####
%completion_date #### %resolver #### %task_synopsis #### " /nf /u /
no_sort "status != 'task_automatic' and status != 'excluded' and
completion_date >= time('2008/11/05 15:16:27') and not
( is_task_in_folder_of(folder('88')) or
is_task_in_folder_of(is_folder_in_rp_of(is_baseline_project_of('Project~1.0_bldmgr:project:PIP#1')))
or
is_task_in_rp_of(is_baseline_project_of('Project~1.0_bldmgr:project:PIP#1')) )
and
(is_task_in_folder_of(is_folder_in_rp_of('Project~1.0_bldmgr:project:PIP#1'))
or is_task_in_rp_of('Project~1.0_bldmgr:project:PIP#1'))"]
2008-11-06 15:16:40,850 [Project:INFO] No modifications detected.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Thanks in advance for your help.
PS: It would be great if someone could provide me a working version
of ccnet.config file. I browsed in internet but in vain.
Regards,
Sushma