Commit ab1a52cb authored by 王珏's avatar 王珏

Update Jenkinsfile

parent 6b26475d
Pipeline #13 canceled with stage
...@@ -15,8 +15,8 @@ pipeline { ...@@ -15,8 +15,8 @@ pipeline {
stage('deploy') { stage('deploy') {
steps { steps {
sh 'sed -i "s#registry/pybbs#registry/pybbs:${imageTag}#g" docker-compose.yml' sh 'sed -i "s#registry/pybbs#registry/pybbs:${imageTag}#g" docker-compose.yml'
# sh 'scp ./docker-compose.yml 10.10.10.115:/app' // sh 'scp ./docker-compose.yml 10.10.10.115:/app'
# sh 'ssh 10.10.10.115 "cd /app ; docker-compose down && docker-compose up -d "' // sh 'ssh 10.10.10.115 "cd /app ; docker-compose down && docker-compose up -d "'
} }
steps { steps {
sshPublisher( sshPublisher(
......
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