Index expression of filenotpresent

pull/6/head
Luis Gerardo Romero Garcia 2023-09-06 12:39:53 +02:00 committed by lgromero
parent 3df79d1e97
commit 2fb5e50005
1 changed files with 7 additions and 1 deletions

8
Jenkinsfile vendored
View File

@ -32,7 +32,13 @@ pipeline {
}
stage('Create temporaly directory') {
when { expression { return !fileExists ('/var/tmp/opengnsys') } }
when {
expression {
boolean fileNotPresent = !fileExists('/var/tmp/opengnsys')
return fileNotPresent
}
}
steps {
sh 'mkdir /var/tmp/opengnsys'
}