Commit 25f4f55f authored by 郭灿峰's avatar 郭灿峰

Update Jenkinsfile

parent 4949f086
......@@ -8,7 +8,7 @@ pipeline {
}
stage('deploy') {
steps {
sshPublisher(publishers: [sshPublisherDesc(configName: 'nginx', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: 'cd /app ; ps -ef | grep pybbs.jar | grep -v grep | cut -c 9-15 | xargs kill ;java -jar pybbs.jar --spring.profiles.active=prod > log.file 2>&1 &', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: '/app/', remoteDirectorySDF: false, removePrefix: '', sourceFiles: './target/pybbs.jar')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
sshPublisher(publishers: [sshPublisherDesc(configName: 'nginx', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: 'cd /app ; ps -ef | grep pybbs.jar | grep -v grep | cut -c 9-15 | xargs kill ;java -jar pybbs.jar --spring.profiles.active=prod > log.file 2>&1 &', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: '/app/pybbs.jar', remoteDirectorySDF: false, removePrefix: '', sourceFiles: './target/pybbs.jar')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
}
}
}
......
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