diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile
index f47d7bcdeddffddba9222490b2e2a4d7fc06d6be..e499b3e87b522fd31bdc5bb781519891c239db9c 100755
--- a/.ci/Jenkinsfile
+++ b/.ci/Jenkinsfile
@@ -231,5 +231,5 @@ pipeline {
 }
 
 String get_build_cache_on_failure_name() {
-	return (CONTAINER_BUILD_TYPE == "testing" ? "c${GERRIT_CHANGE_NUMBER}p${GERRIT_PATCHSET_NUMBER}" : jesh("echo 'stable_\$(date --iso)'", returnStdout: true))
+	return (CONTAINER_BUILD_TYPE == "testing" ? "c${GERRIT_CHANGE_NUMBER}p${GERRIT_PATCHSET_NUMBER}" : jesh(script: "echo 'stable_\$(date --iso)'", returnStdout: true))
 }