mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 15:21:53 +08:00
修改bug
This commit is contained in:
parent
9482b3b220
commit
03b52bfb2e
3
yudao-admin-ui/Jenkinsfile
vendored
3
yudao-admin-ui/Jenkinsfile
vendored
@ -10,7 +10,7 @@ pipeline {
|
||||
}
|
||||
|
||||
environment {
|
||||
APP_NAME = 'yudao-admin'
|
||||
APP_NAME = 'yudao-admin-ui'
|
||||
NGINX_WORKDIR = '/home/pi/mydata/nginx/html/'
|
||||
}
|
||||
|
||||
@ -31,6 +31,7 @@ pipeline {
|
||||
|
||||
stage('部署') {
|
||||
steps {
|
||||
sh 'mkdir -p ' + "${env.NGINX_WORKDIR}" + "${env.APP_NAME}"
|
||||
sh 'cp -rf ' + "${env.APP_NAME}" + '/dist/. ' + "${env.NGINX_WORKDIR}" + "${env.APP_NAME}"
|
||||
sh 'tar -zcvf ' + "${env.APP_NAME}" + '/'+ "${env.APP_NAME}" + '.tar.gz ' + "${env.APP_NAME}" + '/dist/'
|
||||
archiveArtifacts "${env.APP_NAME}" + '/'+ "${env.APP_NAME}" + '.tar.gz'
|
||||
|
Loading…
Reference in New Issue
Block a user