Skip to content

Commit

Permalink
Configuring Jenkins.
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Rohde committed Jan 5, 2018
1 parent 5f47304 commit 746a57b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
pipeline {
agent any
tools {
maven 'mvn3.5.2'
jdk 'jdk9'
}
stages {
stage ('Initialize') {
steps {
sh 'echo "PATH = ${PATH}"'
sh 'echo "M2_HOME = ${M2_HOME}"'
}
}

stage ('Build') {
steps {
sh 'mvn -Dmaven.test.failure.ignore=true install'
}
post {
success {
junit 'target/surefire-reports/**/*.xml'
}
}
}
}
}


0 comments on commit 746a57b

Please sign in to comment.