diff --git a/Jenkinsfile b/Jenkinsfile index 532cca0..e1d26a0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,9 +18,11 @@ pipeline { sh 'pwd' sh 'ls' - if($WWW == "") { - currentBuild.result = 'SUCCESS' - return + script { + if("${WWW}" == "") { + currentBuild.result = 'UNSTABLE' + return + } } } }