From 8d31dfb1545ed0b756d3c2447ee173e3127a9c5c Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Tue, 7 Nov 2023 14:03:57 +0000 Subject: [PATCH] build: Populate AUTH_DOWNLOAD_TOKEN environment variable Use a stored credential in Jenkins to authenticate the downloads against GitHub. Signed-off-by: Rob Bradford --- Jenkinsfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 07002f953..0c37c148e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -53,6 +53,9 @@ pipeline { return runWorkers } } + environment { + AUTH_DOWNLOAD_TOKEN = credentials('8a26fd74-d40e-414c-9132-ff3f867806ef') + } stages { stage('Checkout') { steps { @@ -125,6 +128,9 @@ pipeline { return runWorkers } } + environment { + AUTH_DOWNLOAD_TOKEN = credentials('8a26fd74-d40e-414c-9132-ff3f867806ef') + } stages { stage('Checkout') { steps { @@ -364,6 +370,9 @@ pipeline { } } } + environment { + AUTH_DOWNLOAD_TOKEN = credentials('8a26fd74-d40e-414c-9132-ff3f867806ef') + } stages { stage('Checkout') { steps { @@ -405,6 +414,9 @@ pipeline { } } } + environment { + AUTH_DOWNLOAD_TOKEN = credentials('8a26fd74-d40e-414c-9132-ff3f867806ef') + } stages { stage('Checkout') { steps {