-
Notifications
You must be signed in to change notification settings - Fork 84
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
Missing support for colored pipeline stages #104
Comments
I love coloring but I think that we should NOT go this route, starting to put ASCII escapes inside stage names? Why not putting HTML code instead? It does not make much sense to me. Instead I would focus on finding a way to distinguish these steps in the output console without needing to hack their names. PS. I think you have more chances to succeed by injecting Unicode Emoji into those! ;) |
I'd just got the idea, because I'd found the example on https://jenkins.io/doc/pipeline/examples/ at the very top of the page. And it's definitive disadvantageous, that example won't give useful results. No problem to reject this feature request, having now documented here that this is not supported. |
This functionality will be so cool. Expecting it in next update |
The option to paint the stage item itself (background color) as a result of it's execution (like a method of "if failed servers more than 10%, paint in red" / "if failed tests more than 1, paint in yellow, if failed more than 10, paint in red") could be really useful, because for example we spawn 30-40 sub-pipelines from a parent job, and the huge "table" of all these pipelines is all green even if we detected some failures/issues here and there during some of them. So we need to either hover and read the logs to make sure there was no issues, or compose a report of all executions and read it instead. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Test environment
Expected behavior
Ansi escape sequences should be considered from within pipeline stage statements as e.g. described in https://jenkins.io/doc/pipeline/examples. Want to see colored stage labels in both jenkins console output and also in pipeline stage view.
Actual behavior
Ansi colors were actually not rendered in pipeline stage statements.
Steps to reproduce the behavior
Trying out the example from https://jenkins.io/doc/pipeline/examples shows not an expected result.
I'd modified the example a bit to this Jenkinsfile:
Console output:

StageView:

The text was updated successfully, but these errors were encountered: