Commit 8b52a7d0 authored by 郭灿峰's avatar 郭灿峰

Update Jenkinsfile

parent 2635754b
...@@ -5,8 +5,7 @@ pipeline { ...@@ -5,8 +5,7 @@ pipeline {
steps { steps {
sh 'scp ./docker-compose.yml 10.10.10.115:/app' sh 'scp ./docker-compose.yml 10.10.10.115:/app'
sh 'scp ./boot.sh 10.10.10.115:/app' sh 'scp ./boot.sh 10.10.10.115:/app'
sh 'ssh 10.10.10.115 chmod +x /app/boot.sh' sh 'ssh 10.10.10.115 "cd /app ; docker-compose down && docker-compose up -d "'
sh 'ssh 10.10.10.115 sh /app/boot.sh'
} }
} }
} }
......
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