• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • envinject-plugin
    • None

      If you inject a properties file with new line characters it is not parsing these correctly. Also it appears to be treating the properties file and the properties content differently.

      To address this issue I submitted a pull request to force parsing as a standard Java properties object and then also extracted the parsing logic to be the same for both the content box and property files.

          [JENKINS-31573] New line characters are not parsing correctly

          John Jones created issue -
          Manuel Recena Soto made changes -
          Description Original: If you inject a properties file with new line characters it is not parsing these correctly. Also it appears to be treating the properties file and the properties content differently.

          To address this issue I submitted a pull request to force parsing as a standard Java properties object and then also extracted the parsing logic to be the same for both the content box and property files.


          https://github.com/jenkinsci/envinject-plugin/pull/78
          New: If you inject a properties file with new line characters it is not parsing these correctly. Also it appears to be treating the properties file and the properties content differently.

          To address this issue I submitted a pull request to force parsing as a standard Java properties object and then also extracted the parsing logic to be the same for both the content box and property files.
          Manuel Recena Soto made changes -
          Remote Link New: This issue links to "PR (Web Link)" [ 13532 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 166998 ] New: JNJira + In-Review [ 182545 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-39131 [ JENKINS-39131 ]
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-38607 [ JENKINS-38607 ]
          Oleg Nenashev made changes -
          Link New: This issue is duplicated by JENKINS-20334 [ JENKINS-20334 ]
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-45631 [ JENKINS-45631 ]
          Oleg Nenashev made changes -
          Link New: This issue is duplicated by JENKINS-38561 [ JENKINS-38561 ]

            oleg_nenashev Oleg Nenashev
            jones2026 John Jones
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: