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
1 changed files with 21 additions and 0 deletions

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