Commit 84464d1d authored by 郭灿峰's avatar 郭灿峰

Update Jenkinsfile

parent 04b227b4
...@@ -14,7 +14,8 @@ pipeline { ...@@ -14,7 +14,8 @@ pipeline {
} }
stage('deploy') { stage('deploy') {
steps { steps {
sh 'pwd' sh 'scp ./target/pybbs.jar 10.10.10.115:/app'
sh 'ssh 10.10.10.115 docker-compose down && docker-compose up -d'
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment