Commit a3d3c339 authored by Fernando Vazquez's avatar Fernando Vazquez

Adjusted Jenkinsfile to use mvn

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