Add Jenkinsfile for CI/CD pipeline setup, including build, test, package, and deployment stages.

This commit is contained in:
Maxime Pierront
2025-11-23 00:59:37 +01:00
parent 71cc786ea5
commit ac66320f9a

6
Jenkinsfile vendored
View File

@@ -1,6 +1,12 @@
pipeline { pipeline {
agent any agent any
environment {
JAVA_HOME = '/var/lib/jenkins/tools/hudson.model.JDK/jdk25'
PATH = "${JAVA_HOME}/bin:${PATH}"
}
tools { tools {
jdk 'jdk25' jdk 'jdk25'
maven 'maven-3.9' maven 'maven-3.9'