Support high intensity ANSI colors
See original GitHub issueDoes the plugin only support certain ANSI colors? I was looking through the source code and couldn’t understand where the actual ANSI parsing/matching with the color map occurred. I only get stripped output. This is the HTML that gets generated:
<pre>
[94m[[92m ok [94m][0m Test Search Body Text: "Not Allowed" passed [ ok ]
<span style="display: none;"> Test Search Body Text: "Not Allowed" passed [94m[[92m ok [94m][0m </span>
Sensor DELETE Test
<span style="display: none;"> [95mSensor DELETE Test[0m </span>
Test Status 405 Method Not Allowed passed [ ok ]
<span style="display: none;"> Test Status 405 Method Not Allowed passed [94m[[92m ok [94m][0m </span>
Test Search Body Text: "Not Allowed" passed [ ok ]
<span style="display: none;"> Test Search Body Text: "Not Allowed" passed [94m[[92m ok [94m][0m </span>
Sensor GET without ID Test
<span style="display: none;"> [95mSensor GET without ID Test[0m </span>
Test Status 400 Bad Request passed [ ok ]
Issue Analytics
- State:
- Created 11 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
ANSI escape code - Wikipedia
ANSI escape sequences are a standard for in-band signaling to control cursor location, color, font styling, and other options on video text terminals...
Read more >Support high intensity ansi colours in debug console #63986
Support high intensity ansi colours in debug console #63986 ... High intensity ANSI color codes render the same as normal in the Debug ......
Read more >List of ANSI color escape sequences - terminal - Stack Overflow
I'm looking for a list of all supported colors and options (like bright and blinking). As there are probably differences between the terminals ......
Read more >ANSI color codes - Pueblo
Pueblo/UE supports a wide range of ANSI color codes. ... In version 2.50 and later, bold is interpreted as 'high-intensity', which was the...
Read more >AnsiColor | Jenkins plugin
This plugin adds support for standard ANSI escape sequences, ... emits high intensity codes when using the "light" color options.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @marlene01 and @dblock !
On #16 has been mentioned that Jenkins core has jansi has a dependency already. Looking at core pom it seems to be added as a transitive dependency of Groovy. The last related commit is https://github.com/jenkinsci/jenkins/commit/ae2fe03591c8b44d04edbda14c47def6ab813ee5 which bumps Jansi from 1.9 to 1.11.
That version bump is not included in Jenkins 1.x but is since Jenkins 2.0:
I created a pull request with the information from the 2 tutorials. The Number is: #72