Status: Resolved (View Workflow)
material theme 1.3.1
This is the theme URL I'm using:
Then I have a build with the timestamp and ansi color wrappers and one shell step that does this:
#!/bin/bash echo "This looks terrible" echo -e "\e[31m This is red\e[0m" echo -e "\e[32m This doesn't reset" echo "The end"
The attached screenshot is the build output. It does not do this with timestamper 1.8.4 (which we had previously).
This seems to be related to JENKINS-34019
- is duplicated by
JENKINS-38573 Timestamp CSS style is problematic
- relates to
JENKINS-34019 ANSIColor plugin leaks format onto next line's timestamp
I'm at a loss. Any ideas how to fix this without reintroducing JENKINS-34019 ?
stevengbrown Why can't you use the suggestion borgstrom made in the comments of JENKINS-34019 and here https://github.com/jenkinsci/timestamper-plugin/commit/c31dc9571d5d1121d3f7e43d81059e0818e58b7a#commitcomment-19199648?
That would fix this issue, but reintroduce JENKINS-34019. (The white background for the timestamps overrides the styling applied by the AnsiColor plugin.) I'd like to have a plan for dealing with both.
Code changed in jenkins
User: Steven Brown
JENKINS-38390 JENKINS-34019 Revert timestamps style added by c31dc95
The style matched the default Jenkins theme, but clashed with custom themes.
All changes made under JENKINS-34019 have been reverted. I have an idea about how it can be fixed within the AnsiColor plugin instead.
Custom themes should look normal again.
Fix released with Timestamper 1.8.7.
Another example can be found here: