From 8f0a05438fbef456b9c806dbcab023fbe4822590 Mon Sep 17 00:00:00 2001 From: Carsten Lohmann Date: Fri, 16 Sep 2022 13:34:13 +0200 Subject: [PATCH] Add workaround for errors when packaging the hawkbit chart. Signed-off-by: Carsten Lohmann --- .jenkins/Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile index 0572b75a..3a14ac95 100644 --- a/.jenkins/Jenkinsfile +++ b/.jenkins/Jenkinsfile @@ -93,7 +93,9 @@ podTemplate( stage('Helm Build') { dir("build") { + // adding the bitnami repo below serves as a workaround for sporadic "no cached repository" errors when packaging the hawkbit chart sh ''' + ${WORKSPACE}/helm repo add bitnami-full https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami mkdir -p helm-repository for i in $(ls charts/*/Chart.yaml packages/*/Chart.yaml); do echo "Building $(dirname $i) ..."