Open
Description
openedon Nov 8, 2022
Jenkins and plugins versions report
Environment
Paste the output here
What Operating System are you using (both controller, and any agents involved in the problem)?
Any OS or browser.
Reproduction steps
- Install Pipeline Graph View Plugin.
- Ensure ANSI Plugin global setting is disabled.
- Write a Pipeline that outputs ANSI codes, e.g.
pipeline {
agent none
options {
ansiColor('xterm')
}
stages {
stage('Color') {
steps {
echo('\033[34mHello\033[0m \033[33mcolorful\033[0m \033[35mworld\033[0m')
}
}
}
}
- Run Pipeline
- View console text in Pipeline Console.
Expected Results
Actual Results
Anything else?
We could look at using similar colours to the Dark Theme:
https://github.com/jenkinsci/dark-theme-plugin/blob/master/src/main/frontend/main.scss
The classes to override are defined in:
https://github.com/jenkinsci/pipeline-graph-view-plugin/blob/main/src/main/frontend/pipeline-console-view/pipeline-console/main/pipeline-console.scss#L92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment