From 32f8b4f97fc0da6a73dd3f496426553cc9f1f4db Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Thu, 26 Jul 2018 01:03:59 -0400 Subject: [PATCH] Add initial Jenkinsfile --- Jenkinsfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..d6044d83c --- /dev/null +++ b/Jenkinsfile @@ -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' + } + } + } +} \ No newline at end of file