项目测试
Some checks reported warnings
Personal/PersonalMain-Golang/pipeline/head This commit is unstable

This commit is contained in:
筱锋xiao_lfeng 2024-01-31 19:04:47 +08:00
parent 7acd196a26
commit bc6b1dc853
No known key found for this signature in database
GPG Key ID: F693AA12AABBFA87

2
Jenkinsfile vendored
View File

@ -32,7 +32,7 @@ pipeline {
stage('项目部署至服务器') {
steps {
echo '部署项目至服务器'
sshPublisher(publishers: [sshPublisherDesc(configName: 'JslServer', sshCredentials: [encryptedPassphrase: '{AQAAABAAAAAQSo3d/A9JT3b4GyF3ko9CLF5tctSczhkSZNxEzdL8mEw=}', key: SSH_KEY, keyPath: '', username: 'ecs-user'], transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '''cd ./blog-main
sshPublisher(publishers: [sshPublisherDesc(configName: 'XiaoLFengBlogServer', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '''cd ./blog-main
chmod +x ./personalMain
nohup ./personalMain > logger.log 2>&1 &''', execTimeout: 120000, flatten: false, keepFilePermissions: true, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'blog-main', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'personalMain')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
}