diff --git a/Jenkinsfile-test b/Jenkinsfile-test index 694bc472a..7961d5f98 100644 --- a/Jenkinsfile-test +++ b/Jenkinsfile-test @@ -4,7 +4,7 @@ pipeline { label 'master' } } - + stages { stage('Package') { tools { @@ -17,7 +17,9 @@ pipeline { } stage('Publish') { steps { - sh 'cp -rf ./dist/* /usr/local/joylink/jlclient' + sh 'mkdir -p /usr/local/joylink/jlclient' + sh 'rm -rf /usr/local/joylink/jlclient/*' + sh 'cp -rf ./dist/* /usr/local/joylink/jlclient' } } }