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

Build failed in Jenkins due to reference to /dev/tty #352

Closed
jordibuj opened this issue Jan 23, 2014 · 7 comments
Closed

Build failed in Jenkins due to reference to /dev/tty #352

jordibuj opened this issue Jan 23, 2014 · 7 comments
Assignees

Comments

@jordibuj
Copy link

When running sitespeed.io through the Jenkins plugin, with Jenkins running as a daemon, builds fail with the following message:

tee: /dev/tty: No such device or address

@soulgalore
Copy link
Member

Hi @jordibuj thanks for the report! Sorry that's an mistake by me, there's no terminal when running as a daemon or as a slave. I will look into it asap.

@soulgalore
Copy link
Member

Hi @jordibuj I did a fix for a couple of minutes ago, please try it when you have time (v2.5.1)

@soulgalore
Copy link
Member

I'm closing this now, please reopen if it don't work

@jordibuj
Copy link
Author

Hi @soulgalore thanks for looking into it so quickly!
I just tested it but still doesn't work, I'd say because /dec/stderr is not a regular file so the check for -f returns false.
I tried with -w (exists & writeable) and it worked. I'm on Ubuntu, don't know in other OSs...

@soulgalore
Copy link
Member

ah thanks, I will fix that.

@soulgalore
Copy link
Member

thanks again @jordibuj for the input, I have changed in master and will roll out a release tonight.

@jordibuj
Copy link
Author

Now working! Thanks!

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

2 participants