-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins ver. 2.176.1
Timestamper 1.9
AnsiColor 0.6.2
Pipeline: Declarative 1.3.9
The next timestamp after a coloured line appears with the same color as the line and is not formatted.
Relevant parts of Jenkinsfile
pipeline { options { withAWS(region: 'eu-west-1', roleAccount: acme, credentials: 'acme') timeout(time: 20, unit: 'MINUTES') timestamps() ansiColor('xterm') } stage('Build') { steps { sh '''#!/bin/sh -eux docker build --pull --tag "$GIT_COMMIT" . ''' } } }
- duplicates
-
JENKINS-58102 GlobalAnnotator does not annotate lines that are part of a multi-line color sequence
-
- Resolved
-
[JENKINS-58215] Coloring breaks timestamp output in Declarative Pipeline (NOT Blueocean)
Description |
Original:
The next timestamp after a coloured line appears with the same color as the line and is not formatted. !Screenshot_20190626_164002.png! Relevant parts of Jenkinsfile {code} pipeline { options { withAWS(region: 'eu-west-1', roleAccount: acme, credentials: 'acme') timeout(time: 20, unit: 'MINUTES') timestamps() ansiColor('xterm') } stage('Build') { // build goes before tests to force updating the parent image steps { sh '''#!/bin/sh -eux docker build --pull --tag "$GIT_COMMIT" . ''' } } } {code} |
New:
The next timestamp after a coloured line appears with the same color as the line and is not formatted. !Screenshot_20190626_164002.png! Relevant parts of Jenkinsfile {code} pipeline { options { withAWS(region: 'eu-west-1', roleAccount: acme, credentials: 'acme') timeout(time: 20, unit: 'MINUTES') timestamps() ansiColor('xterm') } stage('Build') { steps { sh '''#!/bin/sh -eux docker build --pull --tag "$GIT_COMMIT" . ''' } } } {code} |
Environment |
New:
Jenkins ver. 2.176.1 Timestamper 1.9 AnsiColor 0.6.2 Pipeline: Declarative 1.3.9 |
Assignee | Original: Andrew Bayer [ abayer ] |
Assignee | New: Basil Crow [ basil ] |
Link |
New:
This issue duplicates |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |