moved webhost address to vars

(cherry picked from commit b5d36aaafab4c797937eff6488a90b0bb68522d5)
This commit is contained in:
qxmips 2021-01-05 08:02:43 +00:00 committed by Christian Poessinger
parent 0c5427cfa1
commit 0b46466f18

2
Jenkinsfile vendored
View File

@ -207,7 +207,7 @@ pipeline {
def ISO = sh(returnStdout: true, script: "ls vyos-*.iso").trim()
def SSH_DIR = '/home/sentrium/web/downloads.vyos.io/public_html/rolling/' + getGitBranchName() + '/' + ARCH
def SSH_OPTS = '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
def SSH_REMOTE = 'khagen@10.217.48.113'
def SSH_REMOTE = env.DOWNLOADS_VYOS_IO_HOST // defined as global variable
// No need to explicitly check the return code. The pipeline
// will fail if sh returns a non 0 exit code