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' } }