diff --git a/Jenkinsfile b/Jenkinsfile index 5543b563..023276c6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,14 +42,8 @@ pipeline { expression { params.publish_type == "ui" || params.publish_type == "all" } } steps { - script { - 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/**', into: '/das/ui/' + dir("$WORKSPACE/ui/dasadmin") { + sh "rsync -av --delete dist/** root@192.168.109.195:/das/ui" } } }