summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile25
1 files changed, 0 insertions, 25 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
deleted file mode 100644
index f1d16265..00000000
--- a/Jenkinsfile
+++ /dev/null
@@ -1,25 +0,0 @@
1pipeline {
2 agent any
3 stages {
4
5 stage ('Build') {
6 steps {
7 sh "chmod +x gradlew"
8 sh "./gradlew clean build"
9
10 archiveArtifacts artifacts: '**/build/libs/*.jar', fingerprint: true
11 }
12 }
13
14 stage ('Archive artifacts') {
15 //Only publish to maven when on master branch
16 when {
17 branch 'master'
18 }
19 steps {
20 sh "./gradlew publish"
21 }
22 }
23
24 }
25}