summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 2f2ca70..4c5d859 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -6,8 +6,8 @@ pipeline {
steps {
echo 'Building..'
sh 'sudo docker build -t englishpal .'
- sh 'docker run -d -p 91:80 -v /home/lanhui/englishpal/app/static/frequency:/app/static/frequency -t englishpal'
- sh 'docker system prune -a -f'
+ sh 'sudo docker run -d -p 91:80 -v /home/lanhui/englishpal/app/static/frequency:/app/static/frequency -t englishpal'
+ sh 'sudo docker system prune -a -f'
}
}
stage('TestIt') {