cleaned up the pipeline a bit, this will still break since I'm not using oracle JDK I think

This commit is contained in:
Ellpeck 2020-02-16 13:33:10 +01:00
parent e22a5d3548
commit 2b1868f7f1

15
Jenkinsfile vendored
View file

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