javaee-showcase/Jenkinsfile

18 lines
336 B
Plaintext
Raw Normal View History

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:39:48 +00:00
if (!isUnix() {
2021-01-23 10:35:13 +00:00
bat('gradlew build')
} else {
sh('gradlew build')
}
2021-01-23 10:30:05 +00:00
}
2021-01-23 10:17:40 +00:00
}
}
}
}