alibaba / rax

🐰 Rax is a progressive framework for building universal application. https://rax.js.org
Other
8k stars 627 forks source link

[Question]jenkins构建会一直卡着 #2324

Closed xmsz closed 2 years ago

xmsz commented 2 years ago

背景

npm run build

- 一直卡住

@rax-materials/scaffolds-app-ts@0.1.0 build /var/lib/jenkins/workspace/test rax-app build

rax-app 3.8.10 JSX+ enabled, documentation: https://rax.js.org/docs/guide/component [info] [webpackbar] Compiling Web


本地构建没有问题

rax-app 3.8.10 JSX+ enabled, documentation: https://rax.js.org/docs/guide/component

✔ Web Compiled successfully in 4.92s

info WEBPACK web: info WEBPACK assets by path .js 79.7 KiB info WEBPACK asset index.js 73.4 KiB [emitted] [minimized] (name: index) info WEBPACK asset 924.js 5.34 KiB [emitted] [minimized] (id hint: vendor) info WEBPACK asset index.chunk.js 969 bytes [emitted] [minimized] (name: index.chunk) info WEBPACK assets by path .css 703 bytes info WEBPACK asset 924.css 412 bytes [emitted] [minimized] (id hint: vendor) info WEBPACK asset index.chunk.css 291 bytes [emitted] [minimized] (name: index.chunk) info WEBPACK asset index.html 461 bytes [emitted] info WEBPACK web (webpack 5.65.0) compiled successfully in 4922 ms info WEBPACK Compiled successfully Build finished:

[Web] Bundle at: /Users/chenshijian/code/demo-20220211/build/web

● Web █████████████████████████ cache (99%) shutdown IdleFileCachePlugin stored



怀疑是jenkins执行时没有获取到结束的信号
SoloJiang commented 2 years ago

我们这暂时没有可以复现的环境

xmsz commented 2 years ago

我使用coding.net的持续集成是可以 所以是我这里jenkins的问题 我再看看

daydreamqun commented 2 years ago

嗨请问解决了吗?我也碰到这个问题

xmsz commented 2 years ago

嗨请问解决了吗?我也碰到这个问题

没有 我今天想用新jenkins环境尝试一下 结果遇到其他问题...

如果直接在原来jenkins服务器上运行 npm run build 会卡在10%

Tanelmer commented 1 year ago

用阿里云的Flow云构建也会卡住。