1.配置svn地址
svn://www.xxx.xxx/xxx-app
账号和密码
2.勾选nodejs配置路径
Provide Node & npm bin/ folder to PATH
3.执行shell
npm install
npm run build:h5
cd /home/zip/apache-tomcat-8.5.47/webapps
rm -rf app
cd /home/jenkins/workspace/lease-app/dist/build
cp -r h5 /home/zip/apache-tomcat-8.5.47/webapps
mv /home/zip/apache-tomcat-8.5.47/webapps/h5 /home/zip/apache-tomcat-8.5.47/webapps/app
花粉社群VIP加油站
猜你喜欢