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

Version 1.20 and later removed all comments and new-lines

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • envinject-plugin
    • None
    • Independent

      From version 1.20 and later, envinject plugin removes all comments and new-lines from "Properties Content".
      This becomes a nightmare as I have more than 300 jobs all documented with comments and new lines and now all comments are gone ...
      Please fix this.
      Alexandre

          [JENKINS-12876] Version 1.20 and later removed all comments and new-lines

          Ok.
          However, if there are lots of comments, I suggest you should use dedicated properties file instead of properties content stored in the job configuration file.

          Gregory Boissinot added a comment - Ok. However, if there are lots of comments, I suggest you should use dedicated properties file instead of properties content stored in the job configuration file.

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectInfo.java
          http://jenkins-ci.org/commit/envinject-plugin/db8e61f83fafc1d183735b6ab7d03b3caf5ac3e0
          Log:
          Fix JENKINS-12876

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/envinject/EnvInjectInfo.java http://jenkins-ci.org/commit/envinject-plugin/db8e61f83fafc1d183735b6ab7d03b3caf5ac3e0 Log: Fix JENKINS-12876

            gbois Gregory Boissinot
            alexandrezia Alexandre Zia
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: