From d3109fcf2efce50e3215d5679721f67a2baac59b Mon Sep 17 00:00:00 2001 From: Bharat Pasupula Date: Thu, 13 Jul 2023 08:50:46 +0200 Subject: [PATCH] fix command --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 68bbbb35507e..c67c3002c29a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -608,10 +608,10 @@ def targetWithoutNode(Map args = [:]) { unstash(name: "terraform-${name}") //unstash does not print verbose output, hence running ls command to print files that are unstashed into the log sh(label: 'List unstashed files', script: "ls -la ${pwd()}", returnStatus: true) - } catch (error) { - echo "error unstashing: ${error}" - } + } } + } catch (error) { + echo "error unstashing: ${error}" } // Retry the same command to bypass any kind of flakiness. // Downside: genuine failures will be repeated.