管理员
管理员
发布于 2023-12-05 / 136 阅读 / 0 评论 / 0 点赞

Build step 'Execute shell' marked build as failure

问题

使用jenkins打包时报以下错误

.../esbuild@0.18.20/node_modules/esbuild postinstall$ node install.js
.../esbuild@0.17.19/node_modules/esbuild postinstall$ node install.js
.../esbuild@0.17.19/node_modules/esbuild postinstall: Done
.../esbuild@0.18.20/node_modules/esbuild postinstall: Done
/tmp/jenkins13500541262274351273.sh: line 13: 21583 Killed                  pnpm i
Build step 'Execute shell' marked build as failure
Finished: FAILURE

解法

网上查了下资料,发现解法比较简单

脚本中 加#!/bin/bash  就可以


评论