Fixing jenkinsfile #5.

master
Tomasz Półgrabia 2021-01-23 11:35:13 +01:00
parent 53cddb7bbe
commit 75e8fe6273
1 changed files with 5 additions and 1 deletions

6
Jenkinsfile vendored
View File

@ -5,7 +5,11 @@ pipeline {
stage('Build') { stage('Build') {
steps { steps {
script { script {
println("gradlew build".execute().text) if (System.getProperty('os.name').startsWith('Windows')) {
bat('gradlew build')
} else {
sh('gradlew build')
}
} }
} }
} }