No color when using Vagrant provisioning in a Jenkins build
258 views
Skip to first unread message
Carl Youngblood
unread,
Sep 4, 2012, 6:16:55 AM9/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vagra...@googlegroups.com
I have a jenkins build that checks our vagrant provisioning to make sure it's working properly. At the beginning I see a message that says:
stdin: is not a tty
I believe this is preventing the provisioning from attempting to write out ansi color even though I have the Jenkins AnsiColor plugin installed. Does anyone know an easy way to force vagrant to output color?
Thanks,
Carl
Mathias Lafeldt
unread,
Sep 4, 2012, 9:33:32 AM9/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vagra...@googlegroups.com
I think that message is printed by the login shell (bash).
I see it each time I run vagrant up or vagrant provision in the
terminal, but colors are working.
So I doubt it's the reason for your color issues.
-Mathias
Carl Youngblood
unread,
Sep 5, 2012, 4:25:04 PM9/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vagra...@googlegroups.com
You're right, I noticed that as well after sending this. Thanks for the heads up!