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

fontmin cli hangs on Jenkins build #54

Open
yellowmamba opened this issue Sep 5, 2017 · 5 comments
Open

fontmin cli hangs on Jenkins build #54

yellowmamba opened this issue Sep 5, 2017 · 5 comments

Comments

@yellowmamba
Copy link

Hello,

This is probably not the right question to be asked here, but I wanted to try my luck because it's driving me crazy.

We have an npm build task using the cli fontmin src/fonts/* build/, which works fine as expected. However, if I try to run this cli on my Jenkins server, the cli hangs, not even creating the destination folder "build". Both Jenkins and my local dev use the same docker image. I tried to log on to the Jenkins server, ssh into the container and execute the cli manually, it worked. Just no luck when Jenkins tries it automatically.

Has anyone run into this issue before, does the cli need any special environment variable or anything?

Much appreciated!

@andrenarchy
Copy link

Experiencing the same issue on TravisCI builds. The fontmin command even spits out binary data to the log instead of writing it to the target directory, see https://travis-ci.org/paperhive/paperhive-widget/builds/272861353

@andrenarchy
Copy link

@yellowmamba can you check if this also fixes your problem? You could use use "fontmin": "andrenarchy/fontmin#fix-dest" in your package.json for testing.

@yellowmamba
Copy link
Author

Hi @andrenarchy Sorry about getting back to you late. No, no luck in trying your solution. I don't think it's the TTY that causes the issue. When I manually ssh'd into the container, I used -t flag to enable TTY and the command manually run there was fine.

@yellowmamba
Copy link
Author

Can confirm this is also an issue on Bitbucket Pipeline. This is becoming a major setback for us to continue using this tool.

@Jianru-Lin
Copy link

Any update? We meet the same problem now.

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

3 participants