测试发
This commit is contained in:
parent
a066fe84b5
commit
481cac5a2e
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user