From 2b1868f7f19106d5e7955643bcacffc51467090a Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 16 Feb 2020 13:33:10 +0100 Subject: [PATCH] cleaned up the pipeline a bit, this will still break since I'm not using oracle JDK I think --- Jenkinsfile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d8db5719..f11a4959 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,12 +1,21 @@ pipeline { agent any stages { + stage('Clean') { + steps { + sh './gradlew clean --no-daemon' + } + } + stage('Build') { steps { - withGradle() { - sh './gradlew clean build' - } + sh './gradlew build --no-daemon' + } + } + stage('Upload Artifacts') { + steps { + archiveArtifacts 'build/libs/**.jar' } }