let's try a Jenkinsfile

This commit is contained in:
nossr50
2025-12-13 16:03:36 -08:00
parent 98eb706361
commit 085197abc0

37
Jenkinsfile vendored Normal file
View File

@@ -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'
}
}
}