diff --git a/Jenkinsfile b/Jenkinsfile
index dcb6b22ae92e04057b2d6758ac7a578fe649a101..0d8f796edb3ab60720674e76f4712d602e11c96d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -215,9 +215,9 @@ pipeline {
         stage('Test, build and deploy Alfa-Client Helm Chart') {
             steps {
                 script {
+                    FAILED_STAGE=env.STAGE_NAME
+                    HELM_CHART_VERSION = buildVersionName()
                     dir('alfa-client') {
-                        FAILED_STAGE=env.STAGE_NAME
-                        HELM_CHART_VERSION = buildVersionName()
 
                         sh "./run_helm_test.sh"