提交 71fdce82 作者: 郁骅焌
...@@ -17,8 +17,8 @@ node('jenkins-jnlp') { ...@@ -17,8 +17,8 @@ node('jenkins-jnlp') {
if(env.ENV == 'pro'){ if(env.ENV == 'pro'){
// sh "npm install" // sh "npm install"
// sh "npm run build" // sh "npm run build"
try { sh "ssh root@sage rm -rf /data/scrm-front-tenant" } catch (e) {} try { sh "ssh root@sage rm -rf /data/snow-guizhou-web-frontend" } catch (e) {}
try { sh "scp -r ./dist root@sage:/data/scrm-front-tenant" } catch (e) {} try { sh "scp -r ./dist root@sage:/data/snow-guizhou-web-frontend" } catch (e) {}
} }
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论