提交 b19e9eec 作者: 郁骅焌

只打包

上级 7ac59cc5
......@@ -16,15 +16,15 @@ node('jenkins-jnlp') {
sh "ln -s /opt/node-v20.9.0-linux-x64-glibc-217/bin/yarn /usr/bin/yarn"
sh "ln -s /opt/node-v20.9.0-linux-x64-glibc-217/bin/pnpm /usr/bin/pnpm"
sh "rm -rf node_modules"
sh "rm -rf yarn.lock"
sh "rm -rf package-lock.json"
sh "rm -rf pnpm-lock.yaml"
sh "pnpm config set registry https://registry.npmmirror.com"
sh "pnpm config set sharp_binary_host=https://npmmirror.com/mirrors/sharp"
sh "pnpm config set sharp_libvips_binary_host=https://npmmirror.com/mirrors/sharp-libvips"
sh "# rm -rf node_modules"
sh "# rm -rf yarn.lock"
sh "# rm -rf package-lock.json"
sh "# rm -rf pnpm-lock.yaml"
sh "# pnpm config set registry https://registry.npmmirror.com"
sh "# pnpm config set sharp_binary_host=https://npmmirror.com/mirrors/sharp"
sh "# pnpm config set sharp_libvips_binary_host=https://npmmirror.com/mirrors/sharp-libvips"
sh "# npm config set registry https://registry.npmjs.org"
sh "pnpm install"
sh "# pnpm install"
sh "npm run build"
}
//dockerfile编译
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论