修改Jenkins打包部署

This commit is contained in:
program-walker 2020-09-28 17:54:54 +08:00
parent 82c2502cc6
commit 2f051be6e9

View File

@ -17,6 +17,8 @@ pipeline {
} }
stage('Publish') { stage('Publish') {
steps { steps {
sh 'mkdir -p /usr/local/joylink/jlclient'
sh 'rm -rf /usr/local/joylink/jlclient/*'
sh 'cp -rf ./dist/* /usr/local/joylink/jlclient' sh 'cp -rf ./dist/* /usr/local/joylink/jlclient'
} }
} }