question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support high intensity ANSI colors

See original GitHub issue

Does 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>
[ ok ] Test Search Body Text: "Not Allowed" passed [ ok ]
<span style="display: none;"> Test Search Body Text: "Not Allowed" passed [ ok ] </span>
Sensor DELETE Test
<span style="display: none;"> Sensor DELETE Test </span>
Test Status 405 Method Not Allowed passed [ ok ]
<span style="display: none;"> Test Status 405 Method Not Allowed passed [ ok ] </span>
Test Search Body Text: "Not Allowed" passed [ ok ]
<span style="display: none;"> Test Search Body Text: "Not Allowed" passed [ ok ] </span>
Sensor GET without ID Test
<span style="display: none;"> Sensor GET without ID Test </span>
Test Status 400 Bad Request passed [ ok ] 

http://imgur.com/pdZsT

Issue Analytics

  • State:closed
  • Created 11 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
hasharcommented, Jun 1, 2016

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:

$ git tag --contains ae2fe035
jenkins-2.0
...
0reactions
marlene01commented, May 30, 2016

I created a pull request with the information from the 2 tutorials. The Number is: #72

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found