修改Jenkinsfile挂载数据库文件

pull/1/head
张小飞 2021-05-29 20:27:52 +08:00
parent aad82c7517
commit 90d64366f3
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -20,7 +20,7 @@ pipeline {
echo 'Building..'
sh 'sudo docker build -t englishpalzhangxf .'
sh 'sudo docker stop $(docker ps -aq)'
sh 'sudo docker run -d -p 5000:80 -t englishpalzhangxf'
sh 'sudo docker run -d -p 5000:80 -v /var/lib/jenkins/workspace/EnglishPal_Pipeline_master/app/static/frequency:/app/static/frequency -t englishpalzhangxf'
}
}
stage('TestIt') {