-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
windows XP
Hello,
When I check the “maintain workarea” checkbox, Jenkins compares the Synergy project work area path (wa_path attribute) to its own work area and, if it is not the same, Jenkins issues the following command:
ccm.exe attr -m wa_path -v C:\Jenkins\jobs\monTestSynergy\workspace -project alas000_demonstrateur~F558863.
Synergy CLI answers :
ccm command failed
Invalid escape sequence for attr_value.
The problem is the single backslash “\” that the CLI interprets as an escape sequence. To remedy this problem, the plug-in should double the backslash, like this:
ccm.exe attr -m wa_path -v C:\\Jenkins\\jobs\\monTestSynergy
workspace -project alas000_demonstrateur~F558863.
Best regards
There seems to be a workaround that still allows Jenkins to set the Synergy workarea.
Set the Jenkins project path with forward slashes (i.e. C:/Projects/myjenkinsproject).
Jenkins then issues the command ccm attr -m wa_path -v C:/Projects/myjenkinsproject -project ....)
and the Synergy Client accept this (and translates this to a Windows Path when working on Windows).
Tested with Jenkins 1.588 and Synergy Developper (Java) Client Client 7.1.