From 25f12e60afe73b92e0ed2b29e2c6847feb99d5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C3=B3=C5=82grabia?= Date: Sat, 23 Jan 2021 11:39:48 +0100 Subject: [PATCH] Fixing jenkinsfile #6. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e898f76..12c2e5c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,7 @@ pipeline { stage('Build') { steps { script { - if (System.getProperty('os.name').startsWith('Windows')) { + if (!isUnix() { bat('gradlew build') } else { sh('gradlew build')