Commit 2558f4eb authored by 郭灿峰's avatar 郭灿峰

Update Jenkinsfile

parent ea76e65e
...@@ -3,6 +3,8 @@ pipeline { ...@@ -3,6 +3,8 @@ pipeline {
stages { stages {
stage('deploy') { stage('deploy') {
steps { steps {
sshPublisher(publishers: [sshPublisherDesc(configName: 'nginx', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: 'cd /tmp && docker-compose down && docker-compose up -d', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: '/tmp/', remoteDirectorySDF: false, removePrefix: '', sourceFiles: './docker-compose.yml')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)]) } sshPublisher(publishers: [sshPublisherDesc(configName: 'nginx', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: 'cd /tmp && docker-compose down && docker-compose up -d', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: '/tmp/', remoteDirectorySDF: false, removePrefix: '', sourceFiles: './docker-compose.yml')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
}
}
}
} }
}
\ No newline at end of file
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