Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No coloring in Declarative Pipeline since 0.7.0 #192

Closed
twz123 opened this issue Jun 8, 2020 · 1 comment
Closed

No coloring in Declarative Pipeline since 0.7.0 #192

twz123 opened this issue Jun 8, 2020 · 1 comment

Comments

@twz123
Copy link

twz123 commented Jun 8, 2020

Please provide precise details of the issue you detected.

Test environment

  • Jenkins Version: 2.222.4
  • AnsiColor Version: 0.7.0
  • Hostsystem: official Docker image jenkins/jenkins:2.222.4

Expected behavior

What did you expect the plugin to do?

Behave as v0.6.3 did:

ansicolor-063

Actual behavior

What did the plugin do instead?

ANSI control characters are shown, no colors.

ansicolor-070

Steps to reproduce the behavior

Run this Pipeline on Jenkins 2.222.4 with ansicolor 0.7.0

pipeline {
  agent none

  options {
    ansiColor('xterm')
  }

   stages {
      stage('Hello') {
         steps {
            echo '\u001B[31mI am red, hopefully!\u001B[0m'
         }
      }
   }
}
@twz123
Copy link
Author

twz123 commented Jun 8, 2020

Dupe of #185

@twz123 twz123 closed this as completed Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant