timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-18928] Conole annotator block console text output #10426

Open timja opened 11 years ago

timja commented 11 years ago

The the hyperlinkNote is called with text that contains a line feed then no further console output will be seen in the normal jenkins view (the raw view will still work).

This is easily reproduced by having a maven build with a module that contains a element that contains a linefeed (which is acceptable.) and hacing another job that is set to copy its artifacts.

e.g.

the console output (raw) would be

Copied 1 artifacts from "foo » Maven name from module containing no line feed" build number 1087
Copied 0 artifacts from "foo » Maven name from module
        containing a linefeed and some indentation" build number 1087
... rest of console output

the last line that is shown in the html console output is
"Copied 1 artifacts from "foo » Maven name from module containing no line feed" build number 1087"

This makes the console output unuseable.

although changing the name in the maven project would seem an easy workaround - automatic formatters will change it back without human intervention.


Originally reported by teilo, imported from: Conole annotator block console text output
  • status: Open
  • priority: Critical
  • resolution: Unresolved
  • imported: 2022/01/10
timja commented 10 years ago

danielbeck:

Could you provide a sample project with this particular problem?