This commit is contained in:
谷成伟 2024-06-20 10:07:24 +08:00
parent d0788fa5d3
commit 7ff2a77965

10
Jenkinsfile vendored
View File

@ -42,8 +42,14 @@ pipeline {
expression { params.publish_type == "ui" || params.publish_type == "all" } expression { params.publish_type == "ui" || params.publish_type == "all" }
} }
steps { steps {
dir("$WORKSPACE/ui/dasadmin") { script {
sh "rsync -avP --delete dist/** root@192.168.109.195:/das/ui" def remote = [:]
remote.name = "master"
remote.host = "192.168.109.195"
remote.allowAnyHosts = true
remote.user = "root"
remote.password = "84805353"
sshPut remote: remote, from: '$WORKSPACE/ui/dasadmin/dist/', into: '/das/ui/'
} }
} }
} }