提交 4d2b7860 作者: 郁骅焌

可以了?

上级 db8323b6
......@@ -16,11 +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 "ls"
sh "# npm config set registry https://registry.npmmirror.com"
sh "pnpm cache clear --force"
sh "rm -rf node_modules"
sh "rm -rf yarn.lock"
sh "rm -rf package-lock.json"
sh "rm -rf pnpm-lock.yaml"
sh "npm config set registry https://registry.npmmirror.com"
sh "# npm config set registry https://registry.npmjs.org"
sh "# pnpm install"
sh "# npm run build"
sh "pnpm install"
sh "npm run build"
}
//dockerfile编译
stage('Build docker') {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论