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

Case Sensitive - Entire properties injection Fails if the properties filename contains uppercases on Solaris

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • envinject-plugin
    • None
    • Solaris

      On Solaris (which differentiates files with different cases), I am trying to inject properties through a properties file. When the name of the properties file is having any upper case, then the properties are not populated. The moment I change all uppercase letters to lowercase in the filename, it works.

      How to reproduce:
      On Soalris (or any Unix system)
      1. Create a build step with Shell
      2. echo CASE=Testing the case > Results.properties.
      3. Create another build step and inject properties file, Results.properties.
      4. Create a build step with shell
      5. echo $CASE

      Wen the filename is "Results.properties" it won't work. Change it to "results.properties", it works.

          [JENKINS-14156] Case Sensitive - Entire properties injection Fails if the properties filename contains uppercases on Solaris

          The plugin delegates file process to a Java java.io.File object wich is case sensitive or insensitive regarding the filesystem.

          Gregory Boissinot added a comment - The plugin delegates file process to a Java java.io.File object wich is case sensitive or insensitive regarding the filesystem.

            gbois Gregory Boissinot
            dararamesh Ramesh Dara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: