Matrix project using labels cannot locate the workspace on Windows slave launched via SSH

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      A matrix project is configured with the Slaves axis and two labels are checked; 'windows' and 'mac'. There is one slave labeled 'mac' on the master and one slave labeled 'windows' on a remote windows machine. The windows machine has cygwin installed and the jenkins node configuration specifies that it's started via SSH. Jenkins successfully starts the windows slave and when the build runs executes a shell script on both 'mac' and 'windows' nodes.

      My project's configuration specifies artifacts as: 'label/mac/MacInstaller/.pkg, label/windows/WinInstaller/.msi'

      When the job completes on the mac, it correctly archives the artifacts as specified in the configuration. When the job completes on the windows machine it fails to find any artifacts.

      Checking the workspace on the windows slave using $WORKSPACE and I see a forward slash preceding the label name:
      ===================================
      + echo 'C:\jenkins\workspace\Project-Name\label/windows'
      C:\jenkins\workspace\Project-Name\label/windows
      + pwd
      /cygdrive/c/jenkins/workspace/Project-Name/label/windows
      ====================================

            Assignee:
            Brad Leonard
            Reporter:
            Brad Leonard
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: