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

Version 1.20 and later removed all comments and new-lines

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      Independent
    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          gbois 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.

          Show
          gbois 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.
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: