fontmin
fontmin copied to clipboard
fontmin cli hangs on Jenkins build
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!
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
@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.
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.
Can confirm this is also an issue on Bitbucket Pipeline. This is becoming a major setback for us to continue using this tool.
Any update? We meet the same problem now.