This plugin provide integrations with IBM Rational CM/Synergy 6.5a Version Manager SCM
Plugin Information
Current state of development
This project is currently stalled and will certainly not be updated for quite some time.
Also, any new feature or bug fix will only be tested with Synergy 6.5 (this is the only version we have right now and we don't plan to update to 7.1 anytime soon).
Features
Development and testing projects
Those features applies to projects in the working or prep state.
- Set the workarea path of an existing project to the location of the Hudson project workspace
- Update the workarea
- Detect conflicts
- Create a changelog
This feature apply to projects in the prep state.
- Create and publish a baseline (always, never or only if the build is successful)
- Copy the tasks from a Synergy folder to another
Baselined projects
Those features applies to static projects.
- Copy a snapshot of a project
- Copy a snapshot of all projects in a baseline
- Copy a snapshot of added or changed files between two projects
- Copy a snapshot of added ot changed files between two baselines
- Create a changelog
Requirements
This plugin is using the CLI interface. It has been developed and tested with Synergy 6.5
Using multiple nodes
It is possible to build a project on multiple nodes, by creating a copy of the project for each node. The name of the node must be in the Synergy project name, and a dynamic project name must be set in the Synergy plugin.
For example, if the project names match a pattern like "project-NODE" (where "NODE" is the name of the node), the name of the project in the Synergy plugin must be "project-${COMPUTERNAME}".
Configuration
The location of the ccm executable must be set in the system configuration page.
Depending on the server, a location for the ccm ui and ccm eng log may also need to be set.
Changelog
1.6 (not released yet)
Improve change polling : if configured to do so, check change applies to the project and not only the release.
Fix starting when a warning is returned by Synergy at login.
Only auto-configure the workarea if configured to do so.
Allow to update a project grouping.
Improve changelog computation speed.
Fix use of dynamic project name, allowing to build on multiple nodes.
Don't required the build manager role if not needed.
Fix subproject path in change log.
Improve error detection.
1.5
Add option to reuse a session.
Add option to keep or update subprojects when updating a project.
Add option to abort the build if there are update warnings.
Add "copy folder" post build function.
Add "pathname" start parameter.
Fix location of subproject.
Fix detection of "No task" conflict.
Fix checkout of baselined project because the changelog is not computed.
1.4
Fix conflict detection.
1.3
Support conflict detection. The build fails if conflicts are detected.
Fix use of the "-rc" flag.
Fix baseline creation.
Fail the build if the Synergy update command returns 1.
Reset workarea path if an obsolete workarea is found (may not handle all cases)
1.2
Support change pooling.
Support the "-rc" start flag.
Improve the computation of the modified file paths in the changelog for subprojects (still needs some work).
Allow to use the baseline objectname as the baseline name.
1.1
Fix end of line handling on UNIX server, which was causing a failure in the detection of the project state.
Don't assume the database version delimiter is '~'
1.0
Initial release
Comments (57)
Dec 15, 2008
purnank says:
Has the plug-in been added to Downloads list?Has the plug-in been added to Downloads list?
Dec 20, 2008
Jean-Noel RIBETTE says:
I've just uploaded the first release of the plugin to the downloads list.I've just uploaded the first release of the plugin to the downloads list.
Jan 15, 2009
Dorothy Valiga says:
Love the plugin. I can't get it quite to work, probably my own misunderstanding....Love the plugin. I can't get it quite to work, probably my own misunderstanding.
a) Low priority: I had to install it in same server as Synergy; can you add "-rc" to startup string? should work even if the server is not remote; otherwise add checkbox option?
b) High priority (I can't use the plugin): If I set the project name to a collect or working project, I get the error "not a static project". If I set it to a baselined project, I get this readout, which does not show any "update members" or "create baseline" that I would expect. Apparently I'm not "getting it" as to how to set this up properly. Can you help?
started
[workspace] $ ccm start -d <mydb> -h -n <myuser> -nogui -m -q -pw ********
<myserver>:<myport>:<mydns>
[workspace] $ ccm set role build_mgr
[workspace] $ ccm attr -s status -p <myproject>~test_for_hudson
integrate
[workspace] $ ccm copy_to_file_system <myproject>~test_for_hudson -path "<myhomedir>/.hudson/jobs/<my project title>/workspace" -r
Copying to file system 1/1, project <myproject>~test_for_hudson...
Copy to work area: 25% complete...
Copy to work area: 50% complete...
Copy to work area: 75% complete...
Copy to work area: 100% complete...
Copying to file system complete.
[workspace] $ ccm stop
SYNERGY/CM engine exiting.
Sending e-mails to: Dorothy.Valiga@<myemail>
[workspace] $ ccm start -d <mydb> -h -n <myuser> -nogui -m -q -pw ********
<myserver>:<myport>:<mydns>
[workspace] $ ccm baseline -publish "<my project title>-20090115-0121"
Warning: No baseline found with name '<my project title>-20090115-0121'.
[workspace] $ ccm stop
SYNERGY/CM engine exiting.
finished: SUCCESS
Jan 22, 2009
Jean-Noel RIBETTE says:
Please check the new 1.1 release of the plugin. It fixes the detection of the pr...Please check the new 1.1 release of the plugin. It fixes the detection of the project state on UNIX server.
Feb 10, 2009
Michael Kindermann says:
With Version 1.1 and CCM 6.4 (similar 6.5) i found the following problems: [zv3...With Version 1.1 and CCM 6.4 (similar 6.5) i found the following problems:
[zv31_sp_3] $ ccm attr -s maintain_wa -project "zv_main#R31_SP_3_Windows_db2 "
Warning: Object version 'R31_SP_3_Windows_db2 ' too long, use version less than 32 characters long.
Specified project cannot be identified: 'zv_main#R31_SP_3_Windows_db2 '
The plugin adds blanks to the project name. After that, the Projectname is too long.
Another point is continuing integration. Building by SCM is ignored. Nothing happens. First i tried * * * * * for the timetable. then i tried */30 * * * * . The build must be started manually. Any idea?
Feb 10, 2009
Jean-Noel RIBETTE says:
Please check the new 1.2 release of the plugin.Please check the new 1.2 release of the plugin.
Feb 27, 2009
Jan Matèrne says:
1. I havent seen a component for the Synergy plugin in JIRA. 2. Feature Request...1. I havent seen a component for the Synergy plugin in JIRA.
2. Feature Request: Option for keep the Synergy session during the build
We use the ccm.exe for asking Synergy for information about the project, release and tasks. This is done during the build. So this requires an open Synergy session. While the developer usually has one, Hudson closes the session directly after reconfiguration.
The idea is to provide an option "Keep Synergy session open for the build" which causes the Synergy plugin to close the session after the last build step (maybe including post processing).
Mar 03, 2009
Jean-Noel RIBETTE says:
I don't have the right to create components in JIRA, but I asked for an admin to...I don't have the right to create components in JIRA, but I asked for an admin to do it.
The keep Synergy session open during build feature looks touchy to me as I'm not sure I'll be able to close the session after the build (to my knowledge, the SCM plugin is only invoked before the build)
Mar 03, 2009
Jan Matèrne says:
If thy SCM plugin is invoked only before the build, it can play together with an...If thy SCM plugin is invoked only before the build, it can play together with another one: the synergy plugin lets the session open, stores a flag and the baseline plugin reuses and closes the session according to the flag.
Feb 27, 2009
Jan Matèrne says:
When I rename a Job in Hudson the Workarea is not updated.When I rename a Job in Hudson the Workarea is not updated.
Mar 03, 2009
Jean-Noel RIBETTE says:
The code is supposed to check the workarea path at each build. Can you post the ...The code is supposed to check the workarea path at each build. Can you post the build log after the rename of the job ?
Mar 03, 2009
Jan Matèrne says:
Before Renaming hudson +-- jobs | +-- MyJob <--- the job to ren...Before Renaming
Workspace according to Synergy Java Client: C:\hudson\jobs\MyJob\workspace
Renaming
Rename MyJob into MyJobRenamed in the Hudson Job configuration window.
After Renaming
Workspace according to Synergy Java Client: C:\hudson\jobs\MyJob\workspace (unchanged).
Build the project
Workspace according to Synergy Java Client: C:\hudson\jobs\MyJobRenamed\workspace (unchanged).
Parts from the Log
Maybe I am trying something not intended to be done - I was changing code in Hudsons workarea (atm I have only my personal Synergy user id).
Mar 04, 2009
Sven Oppermann says:
you get around it, if you deactivate the workarea for that project. after the ne...you get around it, if you deactivate the workarea for that project. after the next build, the workarea will have the right place
Feb 27, 2009
Sven Oppermann says:
i tried the new "-rc" feature, but it doesnt work: 38 public String[] buildCom...i tried the new "-rc" feature, but it doesnt work:
You get:
FATAL: null java.lang.UnsupportedOperationException at java.util.AbstractList.add(AbstractList.java:131) at java.util.AbstractList.add(AbstractList.java:91) at hudson.plugins.synergy.impl.StartCommand.buildCommand(StartCommand.java:44) at hudson.plugins.synergy.impl.Commands.executeSynergyCommand(Commands.java:147) at hudson.plugins.synergy.SynergySCM.checkout(SynergySCM.java:235) at hudson.model.AbstractProject.checkout(AbstractProject.java:801) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:308) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:265) at hudson.model.Run.run(Run.java:894) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:232) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119)list is unmodifiable.
Mar 03, 2009
Jean-Noel RIBETTE says:
I've fixed the code in subversion, thanks for reporting the problemI've fixed the code in subversion, thanks for reporting the problem
Mar 02, 2009
Sven Oppermann says:
The creation of a baseline in 1.2 doesnt work, here is the patch: ==========...The creation of a baseline in 1.2 doesnt work, here is the patch:
Are you planning to implement the "Copy Folder" functionality, too?
Mar 03, 2009
Jean-Noel RIBETTE says:
I've commited the patch in subversion, thanks for it. What do you mean by a cop...I've commited the patch in subversion, thanks for it.
What do you mean by a copy folder functionality ?
Mar 04, 2009
Sven Oppermann says:
within synergy there are many ways for getting tasks for a build. the folder tec...within synergy there are many ways for getting tasks for a build. the folder technology is something like (right now, this is only supported via classic client and cli ) :
pros:
i dont have to create all the time a baseline to publish the tasks to the developers. i do that only nightly.
so what would we need:
the commandline looks like:
ccm folder -copy ${INTEGRATION_TESTING_FOLDER} -existing ${INSULATED_DEVELOPMENT_FOLDER}perhaps there are better ways to do that, but for me it works great
Mar 04, 2009
Sven Oppermann says:
another point. is it possible to add a option "check for conflicts" and if there...another point. is it possible to add a option "check for conflicts" and if there are conflicts, abort the build? here is what i do via shell script:
ccm conflicts -recurse -nowrap ${PROJECT} >>${PROCESS_LOG} 2>&1 if [ `cat ${PROCESS_LOG}|grep "No conflicts detected."|wc -l` -ne 1 ] ; then echo "Checking conflicts detected an error for Project [${PROJECT}] ... Aborting!" exit 1 fiMar 10, 2009
Sven Oppermann says:
thx for implementing "checking conflicts" im having from time to time a proble...thx for implementing "checking conflicts"
im having from time to time a problem, that my build hangs. If i have a look in the console i see only
the processlist on the server:
If i kill those processes the build continues. Do you have a solution for this? (This happend also in release 1.2, i didn't tested 1.1 nor 1.0)
Mar 10, 2009
Jean-Noel RIBETTE says:
I'm unfortunately running Synergy on Windows so I won't be able to help a lot. ...I'm unfortunately running Synergy on Windows so I won't be able to help a lot.
From the process list, can you make guesses about what is happening ? Maybe :
Maybe you can try to:
Hope this helps
Mar 18, 2009
Sven Oppermann says:
I updated to the latest hudson version but the problem isn't solved completely. ...I updated to the latest hudson version but the problem isn't solved completely.
There is one strange thing that we discovered. Our hudson configuration:
There were 2 builds in the queue, both builds were hanging. I could only identify the following processes:
>/home/user>ps |grep ccm
3663 25520 user ? /usr/local/ccm/bin/ccm start -d /ccmdb/eBBi -h bach -n ebbibuild -nogui -m -q -pw xxxx -rc
3683 3663 user ? /usr/local/ccm/bin/util/ccm_ci -d /ccmdb/eBBi -h bach -n ebbibuild -m -q -pw xxx -rc
29011 28940 user pts/0 grep ccm
>/home/user>
I killed the 3683 prozess and the second build continued !?!?!?!? It looks like that this happens only if there are parallel builds.
On my other projects (with CruiseControl), i never close a synergy session. Before i start, i check if a session for this project exists, if "yes" i use it, otherwise i start a new one. Is this an option?
Mar 20, 2009
Sven Oppermann says:
i tested it now over the last two days, but the problem is still there... so it ...i tested it now over the last two days, but the problem is still there... so it doesn't matter if you use 2 Buildprozessors or 1.
Apr 05, 2009
Jan Matèrne says:
When having Synergy subprojects this plugin does not work. We have a project wi...When having Synergy subprojects this plugin does not work.
We have a project with the layout
<Project>
| some sources
+-- directory
+-- subprojects
+-- <Subproject1>
+-- <Subproject2>
The workarea of the subprojects is relative to their parents.
The problem is the update of the local workarea: Hudson does a
ccm attr -m wa_path -v $HUDSON_HOME\jobs\$JOBNAME\workspace\$ROOTPROJECT -project $SUBPROJECT-$INSTANCE
for each subproject. But the "ccm attr" kills the relative project structure.
Using a "ccm wa" command instead would keep that structure.
Apr 08, 2009
Jan Matèrne says:
I havent found the place where the subproject is checked out into the ROOTPROJEC...I havent found the place where the subproject is checked out into the ROOTPROJECTs directory.
I have implemented a workaround: a set up a build before the "real" builder which moves the subprojects to their correct place.
Apr 07, 2009
Jan Matèrne says:
I just had a look at hudson.plugins.synergy.SynergyPluginImpl. According to the ...I just had a look at hudson.plugins.synergy.SynergyPluginImpl. According to the javadoc the start() method registers three extension. But I can only see two. Where is the Synergy Maven Reporter?
Maybe the javadoc is not up to date ...
Apr 24, 2009
Sven Oppermann says:
Hi, i solved some problems and added new features: Solved: Proje...Hi,
i solved some problems and added new features:
Solved:
New features:
if you are interessted i can send it to you.
Apr 27, 2009
Santeri Vesalainen says:
New features: Copy Folder technique (new Option in the Post Build Part) Abo...You have a patch-set? Why not sharing them into Hudson (synergy subcomponent) issue tracker?
NEW/STARTED/REOPENED issues in Synergy Plugin:
https://hudson.dev.java.net/issues/buglist.cgi?Submit+query=Submit+query&component=hudson&subcomponent=synergy&issue_status=NEW&issue_status=STARTED&issue_status=REOPENED&version=current
ALL issues in Synergy Plugin:
https://hudson.dev.java.net/issues/buglist.cgi?Submit+query=Submit+query&component=hudson&subcomponent=synergy&version=current
I have feeling that this your "Reuse synergy session and dont close it" - patch might benefit also a bug/enhancement I have reported into issue tracker: https://hudson.dev.java.net/issues/show_bug.cgi?id=3565
--> it would not waste resources in server-side either, I have understood that it opens a thread for each session in server-side also, and I am not fully convinced about server/client closing them automagically.
Enhancement (3565) in nutshell.. synergy session start fails because the Client DB path is missing(vanishes somehow from ccm.ini) tried also ccm start -u in Windows XP and it seemed to work...
Apr 28, 2009
Jan Matèrne says:
Sounds very interesting. Have you thought commiting a patch?Sounds very interesting. Have you thought commiting a patch?
Apr 29, 2009
Sven Oppermann says:
i will do that.i will do that.
Apr 29, 2009
Sven Oppermann says:
i added the issues: https://hudson.dev.java.net/issues/show_bug.cgi?id=3591 ...i added the issues:
here is a patch (PatchForIssue_3591_3592_3594_3595_3596) for these issues. The issue 3596 is not configurable. There would be to much code changes.Therefore if you add the patch it is enabled by default.
@Jean-Noel RIBETTE sorry, but some classes were reformated :-8
May 26, 2009
Santeri Vesalainen says:
Thanks Jean-Noel Ribette for merging those patches and fixing basically all thes...Thanks Jean-Noel Ribette for merging those patches and fixing basically all these:
https://hudson.dev.java.net/issues/buglist.cgi?Submit+query=Submit+query&component=hudson&subcomponent=synergy&issue_status=NEW&issue_status=STARTED&issue_status=REOPENED&version=current
I finally managed to create a snapshot version from the plugin for testing Client DB Path (Bug/Enhancement), it seems that it also included merge-patch commits made by Jean-Noel. https://hudson.dev.java.net/nonav/issues/showattachment.cgi/715/synergy.hpi
I consider that this would be good place for 1.5 release, or what do you think?
I have some issues left for development : (1. need only developer role for building?; 2. disable auto-force workarea path attribute setting?) but I will make enhancement reports from those soon.
May 28, 2009
Sven Oppermann says:
i think he is waiting for final tests. but im currently on holiday, next week i ...i think he is waiting for final tests. but im currently on holiday, next week i will test it.
Jun 02, 2009
Sven Oppermann says:
i tested the actual 1.5 snapshot version and it looks like, that everything work...i tested the actual 1.5 snapshot version and it looks like, that everything works.
May 14, 2009
stefan says:
<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal Unk...<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal
a:link, span.MsoHyperlink
a:visited, span.MsoHyperlinkFollowed
@page Section1
div.Section1
-->Hi,
Does anybody know (or have a reference) how to configure the Synergy plugin in Hudson in a mixed environment?
Hudson and a Synergy client are installed on Windows. The main Synergy 6.5 server is running on AIX.
When Hudson executes the "build now" command, it returns a broken build and the log says:
Warning: Database File /ccmdb/proj1/db/.../bin/dcm_transfer could not be copied to \\ccmdb\proj1\db\...\bin\dcm_transfer
Warning: D....
There is no problem bringing up the Synergy client and to start a session, but for some reason Hudsonis trying to copy the database path to a weird destination.
Any help is appreciated.
May 18, 2009
Sven Oppermann says:
in my test environment for this hudson plugin, i have the same setup (synergy cl...in my test environment for this hudson plugin, i have the same setup (synergy client and hudson on windows, server on an aix) and i dont have this problems. did tried to start a session and update via the ccm command?
Jul 01, 2009
Ankit Mittal says:
Hi , I have this problem with synergy plugin I want to get the latest version o...Hi , I have this problem with synergy plugin
I want to get the latest version of a particular project from synergy without mentioning the exact project version in Project name feild (version keeps on changing depending on the latest build by cruise control)
for example when I am using : 4front-business-layer~4front-jul09-[version]
as a project name every thing works fine.
but if I use 4front-business-layer~4front-jul09 it doesnt recognize the project , is there any work around ?
Jul 28, 2009
Jan Matèrne says:
I set up a special project just for the CI build. Project version is fixed "CI",...I set up a special project just for the CI build. Project version is fixed "CI", so here it would be 4front-business-layer~4front-jul09-CI.
Synergy knows which files to update via the baseline, release and reconfigure templates.
Jul 28, 2009
Michal Galet says:
Hi, is there a place for extending the plugin to NOT to build the project if th...Hi,
is there a place for extending the plugin to NOT to build the project if the synergy task didn't modify any files?
When a simple task is completed on a single project all my projects are built. This is caused by sharing a synergy release by multiple projects (I can not change it).
Any suggestions? I can try to create a patch and contribute.
Jul 28, 2009
Jan Matèrne says:
I think this is not the job of the Hudson plugin - it is the job of your build s...I think this is not the job of the Hudson plugin - it is the job of your build skript.
The plugin does not know to skip a build, just if you modify a doc-file. Maybe you want to generate a html version from that?
The easiest way is to skip the build if no 'input files' have changed. (Ant: <javac>, <uptodate>, <modified>)
Jul 28, 2009
Michal Galet says:
I use the Maven as a build tool and it would definitely made things hard to mana...I use the Maven as a build tool and it would definitely made things hard to manage. The problem is that the build is triggered by polling the SCM, therefore the SCM plugin tells whether the build should be triggered. A new build number is created and then the build script is launched. I don't even want that build record in Hudson. What do you think? Is there any other way how to skip the build when there are no changes?
Jul 28, 2009
Jan Matèrne says:
I could think of a plugin which injects into a builder, checks a configurable co...I could think of a plugin which injects into a builder, checks a configurable condition and skips the execution of the builder. So this new plugin would work for all builders (Maven, Ant, Groovy, Shell, ...).
Jul 30, 2009
Michal Galet says:
Thank you for your suggestions. However I found that this checking for modificat...Thank you for your suggestions. However I found that this checking for modifications is tightly coupled with the SCM polling, so I decided to modify the plugin with yet another checkbox "Check for modifications". If enabled it will perform this checking logic in the polling execution.
There is no significant impact on a polling performance. On my environment for those projects with the new tasks without any modifications the polling dropped down from 7s to 9s.
The implementation is simple and I will be happy to provide a patch to this project or anyone with a similar problem.
Nov 18, 2009
Christian Loroff says:
Hi, We have the same problem. Several synergy project are grouped in one syner...Hi,
We have the same problem. Several synergy project are grouped in one synergy release and therefore a change in one of the projects triggers a build of all of them.
Such a "Check for modifications" feature would be a great enhancement for the plugin.
Nov 19, 2009
Santeri Vesalainen says:
Please, do provide a patch like Sven did for example: http://wiki.hudson-ci.org...Please, do provide a patch like Sven did for example:
http://wiki.hudson-ci.org/display/HUDSON/Synergy+Plugin?focusedCommentId=37324135#comment-37324135
Because they tend to get put into releases as well. ;) I hope they get into this next 1.6 along with other stuff. Because I work in project which has need also for this kind of feature possibility.
Nov 19, 2009
Michal Galet says:
I have just created an issue https://hudson.dev.java.net/issues/show_bug.cg...I have just created an issue https://hudson.dev.java.net/issues/show_bug.cgi?id=4904 with a patch attached. The patch is against 1.5 tag version. The integration to the trunk should be straightforward.
Dec 01, 2009
Jean-Noel RIBETTE says:
Hi Michal, I've just applied your patch. Can you check the code in the Subversi...Hi Michal,
I've just applied your patch. Can you check the code in the Subversion suit your need ?
Dec 02, 2009
Michal Galet says:
Thank you Jean-Noel, I have tried the trunk and it works fine.Thank you Jean-Noel, I have tried the trunk and it works fine.
Aug 11, 2009
Jan Matèrne says:
The current 1.6-snapshot version requires Build_Mgr access. The 1.5 does not. I...The current 1.6-snapshot version requires Build_Mgr access. The 1.5 does not.
I think it would be better just to disable build-mgr-features if the plugin cant get this right instead of failing the whole build.
Nov 20, 2009
Santeri Vesalainen says:
Added enhancement request https://hudson.dev.java.net/issues/show_bug.cgi?id=491...Added enhancement request https://hudson.dev.java.net/issues/show_bug.cgi?id=4911 regarding the current behauviour of the plugin by leaving the workarea always ON after update.
This should be at least an option to select whether user wants to leave eg. prep project Workarea on, or not, after update.
May 18, 2010
Daniel Collins says:
We have a problem using the very latest code from the subversion repository (r 3...We have a problem using the very latest code from the subversion repository (r 31109), the query that tries to determine product grouping (after updating the project, when determining the changelog) does the following:
$ /opt/ccm64/bin/ccm project_grouping -show info "My ResourceManager/2.0.0 Collaborative Development Projects"
[resrcmgr_src-sol10_hudson] $ /opt/ccm64/bin/ccm project_grouping -show info "My ResourceManager/2.0.0 Collaborative Development Projects"
My ResourceManager/2.0.0 Collaborative Development Projects
ResourceManager/2.0.0
Collaborative Development
hudson
$ /opt/ccm64/bin/ccm project_purpose -show "Collaborative Development"
[resrcmgr_src-sol10_hudson] $ /opt/ccm64/bin/ccm project_purpose -show "Collaborative Development"
Purpose Member Status Status
Collaborative Development collaborative working
$ /opt/ccm64/bin/ccm query -u -f %objectname "type='project_grouping' and release='ResourceManager/2.0.0' and member_status='Status' and subsystem='hudson'"
[resrcmgr_src-sol10_hudson] $ /opt/ccm64/bin/ccm query -u -f %objectname "type='project_grouping' and release='ResourceManager/2.0.0' and member_status='Status' and subsystem='hudson'"
There are 2 issues with this, the previous query that tried to determine the correct member_status value has parsed the first line of the response (and used the column header Status) instead of parsing the 2nd line and taking the value "working" which I believe it should.
This is in Synergy 6.4 (yes, I know its practically desupported, try telling our management they have to actually upgrade things from time to time!) so possibly the syntax has changed in a later version, can anyone confirm that?
Secondly, the query is using a subsystem of "hudson", which is the owner of the project. We don't use subsystems at all, but the current check (in generateChangeLog) uses either the owner of the project (if project is in working state) or "1"?? I don't understand what this is trying to do, the comment talks about instances, but its using subsystem??
Currently our builds fail as soon as there are any changes, as the plugin can't find a valid project grouping that works.
Cheers
Aug 20, 2010
Sven Oppermann says:
Here is the patch. It is working on my environment with Synergy/CM 6.4 Index...Here is the patch. It is working on my environment with Synergy/CM 6.4
Jul 11, 2010
Roger Layani says:
Hi Can someone help for detail the command the plugin uses in synergy for extra...Hi
Can someone help for detail the command the plugin uses in synergy for extract the changes details (change set and user and tasks files list) or how to extract this report from Hudson in text format (from xml api)
The plugin give a very pleasant report I would like to get same report level to notify Build manager.
Thx
Roger Layani
Oct 07, 2010
James Kilbride says:
Does this support Synergy 7.1? Is there work still on going to support the newer...Does this support Synergy 7.1? Is there work still on going to support the newer version of synergy?
Oct 26, 2010
Rodrigo Lopes says:
I just found an issue using version Synergy 7.1: When trying to find an existi...I just found an issue using version Synergy 7.1:
[workspace] $ ccm status
Sessions for user windows_user:
No sessions found.
Current project could not be identified.
[workspace] $ ccm start -d /database/ccmdb/syn7 -h synergyota -n cm_user -nogui -m -q -pw ********
ZSTS199D07:4449:172.17.44.46
Nov 15, 2010
Brian Barde says:
Are you using Web-mode in Synergy 7.1? Have you tried connecting in 7.1 using t...Are you using Web-mode in Synergy 7.1?
Have you tried connecting in 7.1 using the following start command:
ccm start -d /database/path/database -s http://server:8400 -n synergyUser -pw ****** -nogui -m
The major difference is the use of the -s server argument versus the -h host argument. The -s will use the web-mode client.
We are using web-mode only and the start statement above works and also gives back the ccm status showing me as having a session.
The command line interface for Synergy was somewhat re-written for 7.1 to use the new web-mode interface. For the current version 7.1 of the tool command line interface contains both the old command line and the new web-mode command line. It seems like they are going to be using migrating towards the web-mode version.
New web-mode CLI: http://publib.boulder.ibm.com/infocenter/rsdp/v1r0m0/topic/com.ibm.help.download.synergy.doc/pdf71/help_cli_web.pdf
Nov 30, 2010
Rodrigo Lopes says:
We have the web mode, but the plugin is not ready for 7.1 version, so it does no...We have the web mode, but the plugin is not ready for 7.1 version, so it does not use the -s option, only the -h
The command above is the command generated by the Hudson Synergy plugin.