diff --git a/Jenkinsfile b/Jenkinsfile index 412bfcf..0ccf06e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,7 @@ pipeline { sh 'ls' script { - if("${WWW}" == "/var/www/on-deploy/map/staging/frontend") { + if("${WWW}" == "" || "${ENV}" == "") { currentBuild.result = 'FAILED' failed = true return