Add initial Jenkinsfile

This commit is contained in:
Andrew Steinborn 2018-07-26 01:03:59 -04:00
parent b26a17e587
commit 32f8b4f97f

22
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,22 @@
pipeline {
agent {
docker {
image 'gradle:jdk8-slim'
}
}
stages {
stage('Build') {
steps {
sh './gradlew shadowJar'
archiveArtifacts 'build/libs/*.jar'
}
}
stage('Test') {
steps {
sh './gradlew test'
junit 'build/test-results/test/*.xml'
}
}
}
}