Commit b0c7444c authored by 王珏's avatar 王珏

Update Jenkinsfile

parent ab1a52cb
Pipeline #14 canceled with stage
......@@ -13,12 +13,12 @@ pipeline {
}
}
stage('deploy') {
steps {
sh 'sed -i "s#registry/pybbs#registry/pybbs:${imageTag}#g" docker-compose.yml'
// steps {
// 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 "'
}
// }
steps {
sh 'sed -i "s#registry/pybbs#registry/pybbs:${imageTag}#g" docker-compose.yml'
sshPublisher(
publishers: [
sshPublisherDesc(
......
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