mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-02 16:49:12 +00:00
Add Jenkinsfile
This commit is contained in:
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