From 2a1dc01143deb853e235331a7e00109ec9682c93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aneta=20Tla=C5=82ka?= Date: Tue, 24 Oct 2023 18:18:02 +0200 Subject: [PATCH] test file --- Jenkinsfile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e6c6f62..457f9b9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,15 +10,12 @@ pipeline { } } stage('Test') { + when { expression { return fileExists ('CenaMieszkaniaDesign.py') } } steps { - echo 'Testing..' - if (fileExists('CenaMieszkaniaDesign.py')) { - echo 'Yes' - } else { - echo 'No' - } - + echo "file exists" } + } + } stage('Deploy') { steps {