test file

This commit is contained in:
Aneta Tlałka 2023-10-24 18:18:02 +02:00
parent 26cfe9ad90
commit 2a1dc01143

9
Jenkinsfile vendored
View File

@ -10,16 +10,13 @@ pipeline {
} }
} }
stage('Test') { stage('Test') {
when { expression { return fileExists ('CenaMieszkaniaDesign.py') } }
steps { steps {
echo 'Testing..' echo "file exists"
if (fileExists('CenaMieszkaniaDesign.py')) { }
echo 'Yes'
} else {
echo 'No'
} }
} }
}
stage('Deploy') { stage('Deploy') {
steps { steps {
echo 'Deploying....' echo 'Deploying....'