diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-02 10:56:08 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-02 10:56:08 +0800 |
commit | 162e96afb76dcddd92d87c1b2f70162f3e224556 (patch) | |
tree | c23ddc7071fe02bba1511538cb7c75ba1c6061d5 | |
parent | 7e2c699204fa81f869ad01a930ec17e603b2b04d (diff) |
Jenkinsfile: changed.
-rw-r--r-- | Jenkinsfile | 3 |
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') { |