Jenkins: retrive debian repo server via global variable

This commit is contained in:
Christian Poessinger 2021-01-15 17:01:15 +01:00
parent ae2279e30b
commit 76f293633f
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ pipeline {
VYOS_REPO_PATH += 'vyos/'
def SSH_OPTS = '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR'
def SSH_REMOTE = env.DOWNLOADS_VYOS_IO_HOST // defined as global variable
def SSH_REMOTE = env.DEV_PACKAGES_VYOS_NET_HOST // defined as global variable
echo "Uploading package(s) and updating package(s) in the repository ..."

View File

@ -164,7 +164,7 @@ def call(description=null, pkgList=null, buildCmd=null) {
VYOS_REPO_PATH += 'vyos/'
def SSH_OPTS = '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR'
def SSH_REMOTE = 'khagen@10.217.48.113'
def SSH_REMOTE = env.DEV_PACKAGES_VYOS_NET_HOST // defined as global variable
def SSH_DIR = '~/VyOS/' + RELEASE + '/' + env.DEBIAN_ARCH
def ARCH_OPT = ''