Fixing jenkinsfile #6.
parent
75e8fe6273
commit
25f12e60af
|
@ -5,7 +5,7 @@ pipeline {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
if (System.getProperty('os.name').startsWith('Windows')) {
|
if (!isUnix() {
|
||||||
bat('gradlew build')
|
bat('gradlew build')
|
||||||
} else {
|
} else {
|
||||||
sh('gradlew build')
|
sh('gradlew build')
|
||||||
|
|
Loading…
Reference in New Issue