summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2021-02-02 10:56:08 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2021-02-02 10:56:08 +0800
commit162e96afb76dcddd92d87c1b2f70162f3e224556 (patch)
treec23ddc7071fe02bba1511538cb7c75ba1c6061d5
parent7e2c699204fa81f869ad01a930ec17e603b2b04d (diff)
Jenkinsfile: changed.
-rw-r--r--Jenkinsfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index a7aabdb..63d3047 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -5,6 +5,9 @@ pipeline {
stage('BuildIt') {
steps {
echo 'Building..'
+ sh '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'
}
}
stage('TestIt') {