fontmin icon indicating copy to clipboard operation
fontmin copied to clipboard

fontmin cli hangs on Jenkins build

Open yellowmamba opened this issue 7 years ago • 5 comments

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!

yellowmamba avatar Sep 05 '17 07:09 yellowmamba

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 avatar Sep 07 '17 11:09 andrenarchy

@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.

andrenarchy avatar Sep 07 '17 15:09 andrenarchy

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 avatar Oct 03 '17 23:10 yellowmamba

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

yellowmamba avatar Oct 04 '17 00:10 yellowmamba

Any update? We meet the same problem now.

Jianru-Lin avatar Jun 04 '18 11:06 Jianru-Lin