diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..67bc47dc --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,17 @@ +node ('master') { + checkout scm + stage('Build') { + withMaven(maven: 'M3') { + if (isUnix()) { + sh 'mvn -Dmaven.test.failure.ignore clean package' + } + else { + bat 'mvn -Dmaven.test.failure.ignore clean package' + } + } + } + stage('Results') { + junit '**/target/surefire-reports/TEST-*.xml' + archive 'target/*.jar' + } + }