backslash problem with workarea path

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: synergy-plugin
    • None
    • Environment:
      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

            Assignee:
            jribette
            Reporter:
            Garnik Arakelian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: