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

Launcher.isUnix uses master OS, not Slave OS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Critical Critical
    • core
    • None
    • Platform: All, OS: All

      The code in the method Launcher.isUnix uses the jvm function return
      File.pathSeparatorChar==':'; to determine if this Launcher is a unix or a
      windows one. However this is executed on the master ONLY. Thus if the master and
      slave are of different OS types (Linux master and Windows Slave or vice versa)
      then this function will return the incorrect answer. Makes having a single
      master manage both windows and linux/unix slave impossible.

            Unassigned Unassigned
            martinfr62 martinfr62
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: