summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-15 17:01:15 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-15 17:02:05 +0100
commit180e720cfcbe710b4b0dafabf02d255a6bae49ab (patch)
treefea23441ac221686062d6e3651fb461c1c4be8e6
parent160b3a9de4e0537b5dbbf20147b3fef6a2bae522 (diff)
downloadvyos-build-180e720cfcbe710b4b0dafabf02d255a6bae49ab.tar.gz
vyos-build-180e720cfcbe710b4b0dafabf02d255a6bae49ab.zip
Jenkins: retrive debian repo server via global variable
(cherry picked from commit 76f293633fb5feefcc7acd74d4edeea69b60ea5c)
-rw-r--r--packages/linux-kernel/Jenkinsfile2
-rw-r--r--vars/buildPackage.groovy2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/linux-kernel/Jenkinsfile b/packages/linux-kernel/Jenkinsfile
index b72e02dd..dbb7ef51 100644
--- a/packages/linux-kernel/Jenkinsfile
+++ b/packages/linux-kernel/Jenkinsfile
@@ -285,7 +285,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 ..."
diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy
index c3e35775..0fe81a17 100644
--- a/vars/buildPackage.groovy
+++ b/vars/buildPackage.groovy
@@ -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 = ''