diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..56c08d5 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,24 @@ +pipeline { + agent { + node { + label 'master' + } + + } + stages { + stage('Build') { + steps { + withMaven(maven: 'M3') { + sh 'mvn clean install' + } + + } + } + stage('Results') { + steps { + junit '**/target/surefire-reports/TEST-*.xml' + archiveArtifacts 'target/*.jar' + } + } + } +} \ No newline at end of file