Log contains escape sequence characters

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Log contains escape sequence characters

David Aldrich-3
My declarative script job is failing.  I understand the reason for the failure but I'm getting an unhelpful message in the log:

 [31mERROR: Errors occurred during the build. [0m

How can I capture the real error message without these escape sequences?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAJK_ieixJMUBwaHaPgn91aAZzjd%3DXZwEk8j33tx8eyZRU6EDJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Log contains escape sequence characters

Baptiste MATHUS
I think these escape sequences are just color ones. Hence I do not think they are the 'culprits'.

By chance, could you show your pipeline or some gist of it exposing the issue?

Le ven. 14 sept. 2018 à 14:26, David Aldrich <[hidden email]> a écrit :
My declarative script job is failing.  I understand the reason for the failure but I'm getting an unhelpful message in the log:

 [31mERROR: Errors occurred during the build. [0m

How can I capture the real error message without these escape sequences?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAJK_ieixJMUBwaHaPgn91aAZzjd%3DXZwEk8j33tx8eyZRU6EDJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5mhVpq2AYHQeE6arNKX7sNH5Jn9TPSz250pXu_vbpxDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.