Files
jenkins-multibranch-project/Jenkinsfile
2020-10-20 10:03:55 +02:00

26 lines
522 B
Groovy

pipeline {
agent any
tools {
// Install the Maven version configured as "M3" and add it to the path.
maven "maven_jenkins"
}
stages {
stage ('Compile Stage') {
steps {
sh 'mvn clean compile'
}
}
stage ('Testing Stage') {
steps {
sh 'mvn test'
}
}
stage ('Installing Stage') {
steps {
sh 'mvn install'
}
}
}
}