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

Newline characters in commit logs not parsed correctly

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: subversion-plugin
    • Labels:
      None
    • Environment:
      Master (Windows 7), Slaves (Windows 7, Ubuntu 14.04 LTS)
      Jenkins: 2.7.1 LTS
      Subversion plugin 2.6
    • Similar Issues:

      Description

      I have several jobs building via subversion commit triggers.
      The commit messages contain several lines with the majority in the following format:

      Commiter Name:
      Details of change1.
      Details of change2.
      

      Up to Jenkins version 1.651.1 + Subversion plugin 2.5.7, the build page displayed the commit message with several lines correctly under "change history".
      After upgrading to Jenkins 1.651.3 + Subversion plugin 2.6 and now Jenkins 2.7.1 + Subversion plugin 2.6, the commit message is displayed as a single line.
      For example, the commit message above would be displayed as follows:

      Commiter Name:<br>Details of change1.<br>Details of change2.
      

      Checking the html page source of the build page, it looks like the newline characters in the commit message are being generated as:

      &lt;br>
      

      As a result, the commit message is being displayed as a single line.

        Attachments

          Issue Links

            Activity

            chikigai chikigai created issue -
            chikigai chikigai made changes -
            Field Original Value New Value
            Description I have several jobs building via subversion commit triggers.
            The commit messages contain several lines with the majority in the following format:

            {code}
            Commiter Name:
            Details of change1.
            Details of change2.
            {code}
             
            Up to Jenkins version 1.651.1, the build page displayed the commit message with several lines correctly under "change history".
            After upgrading to 1.651.3 and now 2.7.1, the commit message is displayed as a single line.
            For example, the commit message above would be displayed as follows:
            {code}
            Commiter Name:<br>Details of change1.<br>Details of change2.
            {code}

            Checking the page source of the build page, it looks like the newline characters in the commit message are being generated as:

            {code:html}
            &lt;br>
            {code}

            As a result, the commit message is being displayed as a single line.
            I have several jobs building via subversion commit triggers.
            The commit messages contain several lines with the majority in the following format:

            {code}
            Commiter Name:
            Details of change1.
            Details of change2.
            {code}
             
            Up to Jenkins version 1.651.1, the build page displayed the commit message with several lines correctly under "change history".
            After upgrading to 1.651.3 and now 2.7.1, the commit message is displayed as a single line.
            For example, the commit message above would be displayed as follows:
            {code}
            Commiter Name:<br>Details of change1.<br>Details of change2.
            {code}

            Checking the html page source of the build page, it looks like the newline characters in the commit message are being generated as:

            {code:html}
            &lt;br>
            {code}

            As a result, the commit message is being displayed as a single line.
            danielbeck Daniel Beck made changes -
            Component/s core [ 15593 ]
            danielbeck Daniel Beck made changes -
            Assignee Manuel Recena Soto [ recena ]
            chikigai chikigai made changes -
            Description I have several jobs building via subversion commit triggers.
            The commit messages contain several lines with the majority in the following format:

            {code}
            Commiter Name:
            Details of change1.
            Details of change2.
            {code}
             
            Up to Jenkins version 1.651.1, the build page displayed the commit message with several lines correctly under "change history".
            After upgrading to 1.651.3 and now 2.7.1, the commit message is displayed as a single line.
            For example, the commit message above would be displayed as follows:
            {code}
            Commiter Name:<br>Details of change1.<br>Details of change2.
            {code}

            Checking the html page source of the build page, it looks like the newline characters in the commit message are being generated as:

            {code:html}
            &lt;br>
            {code}

            As a result, the commit message is being displayed as a single line.
            I have several jobs building via subversion commit triggers.
            The commit messages contain several lines with the majority in the following format:

            {code}
            Commiter Name:
            Details of change1.
            Details of change2.
            {code}
             
            Up to Jenkins version 1.651.1 + Subversion plugin 2.5, the build page displayed the commit message with several lines correctly under "change history".
            After upgrading to 1.651.3 + Subversion plugin 2.6 and now 2.7.1, the commit message is displayed as a single line.
            For example, the commit message above would be displayed as follows:
            {code}
            Commiter Name:<br>Details of change1.<br>Details of change2.
            {code}

            Checking the html page source of the build page, it looks like the newline characters in the commit message are being generated as:

            {code:html}
            &lt;br>
            {code}

            As a result, the commit message is being displayed as a single line.
            chikigai chikigai made changes -
            Description I have several jobs building via subversion commit triggers.
            The commit messages contain several lines with the majority in the following format:

            {code}
            Commiter Name:
            Details of change1.
            Details of change2.
            {code}
             
            Up to Jenkins version 1.651.1 + Subversion plugin 2.5, the build page displayed the commit message with several lines correctly under "change history".
            After upgrading to 1.651.3 + Subversion plugin 2.6 and now 2.7.1, the commit message is displayed as a single line.
            For example, the commit message above would be displayed as follows:
            {code}
            Commiter Name:<br>Details of change1.<br>Details of change2.
            {code}

            Checking the html page source of the build page, it looks like the newline characters in the commit message are being generated as:

            {code:html}
            &lt;br>
            {code}

            As a result, the commit message is being displayed as a single line.
            I have several jobs building via subversion commit triggers.
            The commit messages contain several lines with the majority in the following format:

            {code}
            Commiter Name:
            Details of change1.
            Details of change2.
            {code}
             
            Up to Jenkins version 1.651.1 + Subversion plugin 2.5, the build page displayed the commit message with several lines correctly under "change history".
            After upgrading to Jenkins 1.651.3 + Subversion plugin 2.6 and now Jenkins 2.7.1 + Subversion plugin 2.6, the commit message is displayed as a single line.
            For example, the commit message above would be displayed as follows:
            {code}
            Commiter Name:<br>Details of change1.<br>Details of change2.
            {code}

            Checking the html page source of the build page, it looks like the newline characters in the commit message are being generated as:

            {code:html}
            &lt;br>
            {code}

            As a result, the commit message is being displayed as a single line.
            chikigai chikigai made changes -
            Description I have several jobs building via subversion commit triggers.
            The commit messages contain several lines with the majority in the following format:

            {code}
            Commiter Name:
            Details of change1.
            Details of change2.
            {code}
             
            Up to Jenkins version 1.651.1 + Subversion plugin 2.5, the build page displayed the commit message with several lines correctly under "change history".
            After upgrading to Jenkins 1.651.3 + Subversion plugin 2.6 and now Jenkins 2.7.1 + Subversion plugin 2.6, the commit message is displayed as a single line.
            For example, the commit message above would be displayed as follows:
            {code}
            Commiter Name:<br>Details of change1.<br>Details of change2.
            {code}

            Checking the html page source of the build page, it looks like the newline characters in the commit message are being generated as:

            {code:html}
            &lt;br>
            {code}

            As a result, the commit message is being displayed as a single line.
            I have several jobs building via subversion commit triggers.
            The commit messages contain several lines with the majority in the following format:

            {code}
            Commiter Name:
            Details of change1.
            Details of change2.
            {code}
             
            Up to Jenkins version 1.651.1 + Subversion plugin 2.5.7, the build page displayed the commit message with several lines correctly under "change history".
            After upgrading to Jenkins 1.651.3 + Subversion plugin 2.6 and now Jenkins 2.7.1 + Subversion plugin 2.6, the commit message is displayed as a single line.
            For example, the commit message above would be displayed as follows:
            {code}
            Commiter Name:<br>Details of change1.<br>Details of change2.
            {code}

            Checking the html page source of the build page, it looks like the newline characters in the commit message are being generated as:

            {code:html}
            &lt;br>
            {code}

            As a result, the commit message is being displayed as a single line.
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 173234 ] JNJira + In-Review [ 185011 ]
            reinholdfuereder Reinhold Füreder made changes -
            jglick Jesse Glick made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Assignee Manuel Recena Soto [ recena ] Łukasz Jąder [ ljader ]
            Resolution Fixed [ 1 ]
            reinholdfuereder Reinhold Füreder made changes -
            Link This issue is related to JENKINS-42740 [ JENKINS-42740 ]

              People

              • Assignee:
                ljader Łukasz Jąder
                Reporter:
                chikigai chikigai
              • Votes:
                11 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: