mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-05 19:01:17 +00:00
Add Jenkinsfile
This commit is contained in:
1 parent
97e85868ff
commit
b17ad487ab
1 file changed
+14
Vendored
+14
@@ -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}"
|
||||
}
|
||||
Reference in new issue
Block a user