-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins server running on ubuntu. Fairly old system.
Hi,
I just discovered this awesome plugin, and got it to work quite well. When I reverted a commit, thus creating a commit message: Revert "xyz: masked ascii chars here", Pipeline Aggregator stopped showing any lines at all (previously 16).
After some troubleshooting, I found the message attached in jenkins_log_backtrace.
SEVERE: ChangeLogAnnotator hudson.plugins.collabnet.CNChangeLogAnnotator@31da6210 failed to annotate message 'Revert "xyz: masked ascii chars here"'; You must override the newer overload of annotate
I guess something went wrong with the parsing of the commit message. This led me to try to see if, I decrease the number of lines, I could revive Aggregator. Lo and behold, it started working again. See the image below for when I swap between 1 row (not including the commit message above) and 2 lines (including the commit message above --> causing no output).
I might be able to solve the initial crash in Jenkins somehow, but it would be great if Pipeline-Aggregator could handle this somehow as well. It was more or less by luck I found the correlation between commit message and non-working Aggregator.
Thanks in advance! Great plugin.
/Magnus
Hi, I am also having this problem. Looks like if there are quotes in the commit message, the JSON returned by the Pipeline Aggregator API does not have the quotes escaped and thus break the JSON format.
I guess something should escape the text. I am not familiar with Jenkins code so cannot really tell where that should happen.