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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Critical Critical
    • None
    • Master runs on Mac OS 10.6. Slave is Windows XP with Cygwin launched via SSH (username and password; no key files). Slave's remote fs: 'C:\jenkins'. Windows slave uses label 'windows' and master node uses label 'mac'.

      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
      ====================================

            bleonard Brad Leonard
            bleonard Brad Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: