Commit 03486383 authored by Josh Steinberg's avatar Josh Steinberg

update maven in jenkinsfile

parent 747d9756
pipeline { pipeline {
agent any agent any
tools{
maven 'Maven 3.8.6'
jdk 'jdk11'
}
stages { stages {
stage('Git Checkout') { stage('Git Checkout') {
steps{ steps{
...@@ -9,16 +12,13 @@ pipeline { ...@@ -9,16 +12,13 @@ pipeline {
echo "Checkout complete" echo "Checkout complete"
} }
} }
stage('Test') { stage('Build') {
steps { steps {
withMaven{ sh 'mvn -Dmaven.test.failure.ignore=true install'
sh './mvnw test'
}
} }
post { post {
always{ success {
junit 'target/surefire-reports/*.xml' junit 'target/surefire-reports/**/*.xml'
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment