-
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:
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:
<br>
As a result, the commit message is being displayed as a single line.
- is related to
-
JENKINS-42740 Consider newline characters in commit messages also for summary of build changes section
-
- Open
-
Code changed in jenkins
User: Łukasz Jąder
Path:
src/main/resources/hudson/scm/SubversionChangeLogSet/digest.jelly
src/main/resources/hudson/scm/SubversionChangeLogSet/index.jelly
http://jenkins-ci.org/commit/subversion-plugin/8dc995bf09d1e51b365e4e7308fb40ea7f705f8b
Log:
Merge pull request #174 from ljader/fix-commit-message-escaping
JENKINS-36521Print raw (not HTML escaped) commit messagesCompare: https://github.com/jenkinsci/subversion-plugin/compare/de82ef7a892e...8dc995bf09d1