aether-legacy/Jenkinsfile
2019-04-16 13:54:38 -05:00

24 lines
406 B
Groovy

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