aether-legacy/Jenkinsfile

25 lines
406 B
Text
Raw Normal View History

2019-04-14 15:27:59 +02:00
pipeline {
2019-04-16 20:54:38 +02:00
options {
buildDiscarder(logRotator(artifactNumToKeepStr: '10'))
}
2019-04-14 15:27:59 +02:00
agent {
docker {
args '-v gradle-cache:/home/gradle/.gradle'
2019-04-14 16:40:46 +02:00
image 'gradle:3.5-jdk8-alpine'
2019-04-14 15:27:59 +02:00
}
}
stages {
stage('Build') {
steps {
2019-04-14 16:40:46 +02:00
sh 'gradle build --no-daemon'
2019-04-14 15:27:59 +02:00
}
}
stage('Archive') {
steps {
archiveArtifacts 'build/libs/*.jar'
}
}
}
}