Skip to content

Commit

Permalink
Added boilerplate Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jcustenborder authored Jan 19, 2017
1 parent d6b1de5 commit a92ba8d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!groovy
node {
def jdk8_docker_image = 'maven:3.3.3-jdk-8'

checkout scm

docker.image(jdk8_docker_image).inside {
stage('build') {
sh "mvn --batch-mode clean package"
junit '**/target/surefire-reports/TEST-*.xml'
}
}
}

0 comments on commit a92ba8d

Please sign in to comment.