Add Jenkinsfile

This commit is contained in:
Gary Tierney
2017-06-20 07:42:47 +01:00
parent 97e85868ff
commit b17ad487ab
Vendored
+14
View File
@@ -0,0 +1,14 @@
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}"
}