Commit 03486383 authored by Josh Steinberg's avatar Josh Steinberg

update maven in jenkinsfile

parent 747d9756
pipeline {
agent any
tools{
maven 'Maven 3.8.6'
jdk 'jdk11'
}
stages {
stage('Git Checkout') {
steps{
......@@ -9,16 +12,13 @@ pipeline {
echo "Checkout complete"
}
}
stage('Test') {
stage('Build') {
steps {
withMaven{
sh './mvnw test'
}
sh 'mvn -Dmaven.test.failure.ignore=true install'
}
post {
always{
junit 'target/surefire-reports/*.xml'
success {
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