20 lines
315 B
Groovy
20 lines
315 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
triggers {
|
|
pollSCM '* * * * *'
|
|
}
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
sh './gradlew assemble'
|
|
}
|
|
}
|
|
stage('BootJar') {
|
|
steps {
|
|
sh './gradlew bootJar'
|
|
}
|
|
}
|
|
}
|
|
}
|