blob: 29a7dd8b8829a671cf1cb6230c909bee2a1f75c6 [file] [log] [blame] [raw]
pipeline {
options {
buildDiscarder(logRotator(artifactNumToKeepStr: '10'))
}
agent {
docker {
args '-v gradle-cache:/home/gradle/.gradle'
image 'gradle:3.5-jdk8-alpine'
}
}
stages {
stage('Build') {
steps {
sh 'gradle build --no-daemon'
}
}
stage('Archive') {
steps {
archiveArtifacts 'build/libs/*.jar'
}
}
}
}