Commit 1544bc8a authored by Josh Steinberg's avatar Josh Steinberg

update jenkinsfile path

parent 30f8c7c3
...@@ -20,23 +20,13 @@ pipeline { ...@@ -20,23 +20,13 @@ pipeline {
} }
stage('Build') { stage('Build') {
steps { steps {
sh 'mvn -B -DskipTests clean package' sh 'mvn -B -DskipTests clean install'
}
}
stage('Test'){
steps{
sh 'mvn test'
}
post {
always {
junit 'target/surefire-reports/*.xml'
}
} }
} }
stage('Sonarqube'){ stage('Sonarqube'){
steps{ steps{
echo "running Sonar ******************************************************" echo "running Sonar ******************************************************"
sh "ls /target/site/jacoco/ -al" sh "ls /target/site -al"
withSonarQubeEnv('sonar'){ withSonarQubeEnv('sonar'){
sh 'mvn clean package sonar:sonar' sh 'mvn clean package sonar:sonar'
} }
......
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