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

Hudson fails to recognize PATH env variable in lower/mixed case on Windows.

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: Windows XP

      The issue reproduces when

      1. The OS is Windows Server 2003 (it is likely that whole windows family affected)
      2. PATH environment variable defined in lower or mixed case e.g. "Path"
      3. Job uses non-default JDK.
      4. Hudson 1.153 (did not try other versions)

      Under these conditions instead of appending $JAVA_HOME/bin to existing path
      hudson defines new env variable in upper case, which contains $JAVA_HOME/bin ONLY.

      This may cause various problems downstream. One that I faced is that Websphere
      does not start, as windows stuff is not in PATH.

          [JENKINS-1059] Hudson fails to recognize PATH env variable in lower/mixed case on Windows.

          pagrus created issue -
          Kohsuke Kawaguchi made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Kohsuke Kawaguchi made changes -
          Link New: This issue duplicates JENKINS-968 [ JENKINS-968 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 131132 ] New: JNJira + In-Review [ 200405 ]

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

              Created:
              Updated:
              Resolved: