diff options
-rw-r--r-- | packages/linux-kernel/Jenkinsfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/linux-kernel/Jenkinsfile b/packages/linux-kernel/Jenkinsfile index 6d9d9cda..57eeea59 100644 --- a/packages/linux-kernel/Jenkinsfile +++ b/packages/linux-kernel/Jenkinsfile @@ -90,7 +90,7 @@ pipeline { script { dir(env.BASE_DIR) { sh ''' - KERNEL_VER='5.10.6' + KERNEL_VER=\$(cat ../../data/defaults.json | jq -r .kernel_version) gpg2 --locate-keys torvalds@kernel.org gregkh@kernel.org curl -OL https://www.kernel.org/pub/linux/kernel/v5.x/linux-${KERNEL_VER}.tar.xz curl -OL https://www.kernel.org/pub/linux/kernel/v5.x/linux-${KERNEL_VER}.tar.sign @@ -263,7 +263,7 @@ pipeline { 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.DOWNLOADS_VYOS_IO_HOST // defined as global variable echo "Uploading package(s) and updating package(s) in the repository ..." |