Fixing jenkinsfile #5.
parent
53cddb7bbe
commit
75e8fe6273
|
@ -5,7 +5,11 @@ pipeline {
|
|||
stage('Build') {
|
||||
steps {
|
||||
script {
|
||||
println("gradlew build".execute().text)
|
||||
if (System.getProperty('os.name').startsWith('Windows')) {
|
||||
bat('gradlew build')
|
||||
} else {
|
||||
sh('gradlew build')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue