Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5789

Synergy copy folder does not work when target folder is only writable by build managers

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • synergy-plugin
    • None
    • Windows XP SP 3, Tomcat 6

      Hello developers,

      we are using (evaluating) Hudson together with Telelogic Synergy 6.5.
      In the post-build-actions, we have selected "Synergy Copy Folder" for successful builds only.

      The synergy user is configured for the roles developer and build_mgr.
      The target folder for the copy is writable for build_mgr only.

      The copy fails. In the console log, I find:

      — START LOG —
      [org_webclient~2.4.prep] $ "C:\Programme\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe" start -d \\beifus\ccmdb\ipsprod -h beifus -n hudson -nogui -m -q -pw ********
      Hotelterminus:4974:192.168.250.56

      [org_webclient~2.4.prep] $ "C:\Programme\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe" folder -copy 352 -existing 390
      Warning: User 'hudson' does not have permission to write to folder '390'. Cannot copy to the folder.

      [org_webclient~2.4.prep] $ "C:\Programme\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe" stop
      Telelogic Synergy engine exiting.
      — END LOG —

      The copy fails, because the Synergy user's role is not set to build_mgr prior to running the 'ccm folder' command.

          [JENKINS-5789] Synergy copy folder does not work when target folder is only writable by build managers

          jribette added a comment -

          The problem should be fixed by using a build with the latest source code. Can you try that ?

          jribette added a comment - The problem should be fixed by using a build with the latest source code. Can you try that ?

          wrupprath added a comment -

          We have installed the latest Hudson version (1.350) today.
          We also checked the version of the Synergy plugin (its the current version 1.5).

          Then we changed the folder properties in Synergy to 'writable by build_mgr only' (As a workaround, we have set the folder properties to 'writable by all').

          But the problem remains - the folder is not updated when we set its properties to writeable by build_mgr only.

          wrupprath added a comment - We have installed the latest Hudson version (1.350) today. We also checked the version of the Synergy plugin (its the current version 1.5). Then we changed the folder properties in Synergy to 'writable by build_mgr only' (As a workaround, we have set the folder properties to 'writable by all'). But the problem remains - the folder is not updated when we set its properties to writeable by build_mgr only.

            jribette jribette
            wrupprath wrupprath
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: