修改Jenkins正式打包发布

This commit is contained in:
program-walker 2020-09-28 18:27:57 +08:00
parent c89fb915f5
commit 6019050258

View File

@ -4,7 +4,7 @@ pipeline {
label 'master'
}
}
stages {
stage('Package') {
tools {
@ -18,6 +18,8 @@ pipeline {
}
stage('Publish') {
steps {
sh 'mkdir -p /usr/local/joylink/jlclient'
sh 'rm -rf /usr/local/joylink/jlclient/*'
sh 'cp -rf ./dist/* /usr/local/joylink/jlclient'
}
}