diff --git a/test.jenkinsfile b/test.jenkinsfile new file mode 100644 index 0000000000..4170d5fd0b --- /dev/null +++ b/test.jenkinsfile @@ -0,0 +1,30 @@ +pipeline { + agent { + docker { + image 'maven:3.9.0' + args '-v /root/.m2:/root/.m2' + } + } + stages { + stage('Build') { + steps { + sh 'mvn -B -DskipTests clean package' + } + } + stage('Test') { + steps { + sh 'mvn test' + } + post { + always { + junit 'target/surefire-reports/*.xml' + } + } + } + stage('Deliver') { + steps { + sh './jenkins/scripts/deliver.sh' + } + } + } +}