Jenkinsfile
Some checks are pending
Gitea/FrameTour-BE/pipeline/head Build queued...

This commit is contained in:
2025-06-30 17:51:34 +08:00
parent 529b52f19c
commit 8a17392ae5

20
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,20 @@
pipeline {
agent any
environment {
JAVA_HOME = "/opt/openjdk21.0.7"
MAVEN_HOME = "/opt/apache-maven-3.9.9"
PATH = "${env.JAVA_HOME}/bin:${env.MAVEN_HOME}/bin:${env.PATH}"
}
stages {
stage('Build') {
steps {
bat 'mvn clean package -DskipTests=true'
}
}
}
post {
always {
archiveArtifacts artifacts: 'target/*.jar', allowEmptyArchive: false
}
}
}