修改路径

This commit is contained in:
weir
2021-07-25 19:43:31 +08:00
parent 03b52bfb2e
commit 25a82f07c7
2 changed files with 5 additions and 4 deletions

View File

@ -10,7 +10,8 @@ pipeline {
}
environment {
APP_NAME = 'yudao-admin-ui'
APP_NAME = 'yudao-admin'
APP_PACKAGE='yudao-admin-ui'
NGINX_WORKDIR = '/home/pi/mydata/nginx/html/'
}
@ -24,8 +25,8 @@ pipeline {
stage('构建') {
steps {
sh 'cnpm --prefix '+ "${env.APP_NAME}" +' install'
sh 'cnpm --prefix '+ "${env.APP_NAME}" +' run build:prod'
sh 'cnpm --prefix '+ "${env.APP_PACKAGE}" +' install'
sh 'cnpm --prefix '+ "${env.APP_PACKAGE}" +' run build:prod'
}
}