From 59e79993853259b198dfaddcfc514c86fe8a6434 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 5 Jul 2024 11:10:10 +0200 Subject: [PATCH] ci: refs #7643 Reprepro SSH credentials fix --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e0e7a800..b79a0eaa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -52,7 +52,9 @@ pipeline { } steps { unstash 'debuildOutput' - debFile = sh(script: 'ls output/*.deb', returnStdout: true).trim() + script { + debFile = sh(script: 'ls output/*.deb', returnStdout: true).trim() + } withCredentials([sshUserPrivateKey( credentialsId: 'jenkins-agent',