Files
apollo/Jenkinsfile
T
2017-06-20 08:00:06 +01:00

14 lines
265 B
Groovy

node {
stage 'Stage Checkout'
checkout scm
stage 'Stage Build'
gradle 'clean assemble'
stage 'Stage Test'
gradle 'check'
}
def gradle(command) {
sh "${tool name: 'gradle', type: 'hudson.plugins.gradle.GradleInstallation'}/bin/gradle ${command}"
}