Add Jenkinsfile
Build / Build (push) Failing after 2s

This commit is contained in:
Ugric committed 2026-04-25 01:28:04 +01:00
1 parent 30f90262b5
commit 983adcec4f
1 file changed
+38
Vendored
+38
View File
@@ -0,0 +1,38 @@
pipeline {
agent any
triggers {
cron('H 3 * * *')
}
tools {
jdk 'JDK25'
maven 'Maven3'
}
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Build') {
steps {
sh 'mvn -B verify'
}
}
stage('Archive') {
steps {
archiveArtifacts artifacts: 'target/*.jar', fingerprint: true
}
}
}
post {
failure {
echo 'Build failed.'
}
}
}