From 79e141826542897bc8749e315c64455e13655678 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Fri, 20 Mar 2020 21:06:38 +0700 Subject: [PATCH] test jenkins --- Jenkinsfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 + } } } }