-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins version: 2.138.2
JDK: java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
OS: CentOS 7 64 bit
Pipeline plugin version: 2.6
Jenkins is running directly using SSH agents for the slaves. The slaves are all running CentOS 7 with some of those agents being containers. Jenkins is access through a smart proxy and I'm running the latest version of Google Chrome.Jenkins version: 2.138.2 JDK: java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64 OS: CentOS 7 64 bit Pipeline plugin version: 2.6 Jenkins is running directly using SSH agents for the slaves. The slaves are all running CentOS 7 with some of those agents being containers. Jenkins is access through a smart proxy and I'm running the latest version of Google Chrome.
Pipeline:
node('master'){ ansiColor('xterm') { sh 'echo -e "\033[31mRed\033[0m"' } wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm']) { sh 'echo -e "\033[31mRed\033[0m"' } } node('ansible'){ ansiColor('xterm') { sh 'echo -e "\033[31mRed\033[0m"' } wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm']) { sh 'echo -e "\033[31mRed\033[0m"' } }
Output:
I've verified I see ANSI coloring on a freestyle project restricted to the same 'ansible' label
Shell build step
echo -e "\033[31mRed\033[0m"
Output
I've verified this happens on multiple Jenkins instances running 2.138.2. This started happening after the following plugin updates:
-rw-r--r--. 1 jenkins jenkins 560808 Oct 12 16:54 workflow-cps.jpi -rw-r--r--. 1 jenkins jenkins 111622 Oct 12 16:54 workflow-job.jpi -rw-r--r--. 1 jenkins jenkins 311324 Oct 12 16:54 ws-cleanup.jpi -rw-r--r--. 1 jenkins jenkins 360909 Oct 12 16:54 workflow-support.jpi
- relates to
-
JENKINS-48344 Log files generated by Jenkins pipeline scripts are bloated
- Resolved
-
JENKINS-54081 Timestamps missing for agent-based steps in Pipeline Job 2.26
- Resolved
-
JENKINS-38381 [JEP-210] Optimize log handling in Pipeline and Durable Task
- Resolved
- links to
(3 links to)