diff --git a/Jenkinsfile b/Jenkinsfile index 1ba2c1f..e2663cf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,6 +16,7 @@ pipeline { stage('publish project') { steps { sh "scp target/springboot-cicd-0.0.1-SNAPSHOT.jar root@192.168.11.134:/usr/local" + sshPublisher(publishers: [sshPublisherDesc(configName: 'axun-server', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '/usr/local/deploy.sh', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: '', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)]) } } }