diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..d4b378667 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,37 @@ +pipeline { + agent any + + tools { + jdk 'jdk17' + } + + options { + timestamps() + disableConcurrentBuilds() + } + + stages { + stage('Checkout') { + steps { + checkout scm + } + } + + stage('Build') { + steps { + sh ''' + ./mvnw -V -B clean package + ''' + } + } + } + + post { + success { + echo 'Build succeeded' + } + failure { + echo 'Build failed' + } + } +}