2021-01-23 10:17:40 +00:00
|
|
|
pipeline {
|
|
|
|
agent any;
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
2021-01-23 10:30:05 +00:00
|
|
|
script {
|
2021-01-23 10:40:49 +00:00
|
|
|
if (!isUnix()) {
|
2021-01-26 17:15:28 +00:00
|
|
|
bat('gradlew --no-daemon build')
|
2021-01-23 10:35:13 +00:00
|
|
|
} else {
|
2021-01-26 17:15:28 +00:00
|
|
|
sh('gradlew --no-daemon build')
|
2021-01-23 10:35:13 +00:00
|
|
|
}
|
2021-01-23 10:30:05 +00:00
|
|
|
}
|
2021-01-23 10:17:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|