Commit a3d3c339 authored by Fernando Vazquez's avatar Fernando Vazquez

Adjusted Jenkinsfile to use mvn

parent 5424796e
pipeline { pipeline {
agent any agent any
tools{
maven 'maven'
}
stages { stages {
stage('Git Checkout') { stage('Git Checkout') {
steps{ steps{
...@@ -9,11 +11,10 @@ pipeline { ...@@ -9,11 +11,10 @@ pipeline {
echo "Checkout complete" echo "Checkout complete"
} }
} }
stage('Test') { stage('Build') {
steps { steps {
echo "Tetsing project..." echo "Building project..."
sh './gradlew clean test --no-daemon' //run a gradle task sh 'mvn -Dmaven.test.failure.ignore=false install'
echo "Test complete"
} }
} }
} }
......
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