Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add the CSS class "pipeline-annotated" to all pipeline annotated cons…
…ole messages. This will allow the administrator to override the display of these messages using the Simple Theme Plugin.

This should fix JENKINS-41845
  • Loading branch information
marcmac committed Feb 21, 2018
1 parent 023a065 commit d0e19f6
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -46,8 +46,9 @@ public class WorkflowRunConsoleNote extends ConsoleNote<Run<?, ?>> {
* CSS color selector.
*/
private static final String TEXT_COLOR = "9A9999";
private static final String CLASS_NAME = "pipeline-annotated";

private static final String START_NOTE = "<span style=\"color:#"+ TEXT_COLOR +"\">";
private static final String START_NOTE = "<span class=\""+ CLASS_NAME +"\" style=\"color:#"+ TEXT_COLOR +"\">";
private static final String END_NOTE = "</span>";

@Override
Expand Down

0 comments on commit d0e19f6

Please sign in to comment.