Create Jenkinsfile

This commit is contained in:
Jon 2019-04-14 08:27:59 -05:00 committed by GitHub
parent 90dce0cbd2
commit 99e563d8f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,21 @@
pipeline {
agent {
docker {
args '-v gradle-cache:/home/gradle/.gradle'
image 'gradle:4.10.3-jdk8-alpine'
}
}
stages {
stage('Build') {
steps {
sh 'gradle build'
}
}
stage('Archive') {
steps {
archiveArtifacts 'build/libs/*.jar'
}
}
}
}