forked from mrlan/EnglishPal
修改Jenkinsfile挂载数据库文件
parent
aad82c7517
commit
90d64366f3
|
@ -20,7 +20,7 @@ pipeline {
|
||||||
echo 'Building..'
|
echo 'Building..'
|
||||||
sh 'sudo docker build -t englishpalzhangxf .'
|
sh 'sudo docker build -t englishpalzhangxf .'
|
||||||
sh 'sudo docker stop $(docker ps -aq)'
|
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') {
|
stage('TestIt') {
|
||||||
|
|
Loading…
Reference in New Issue