Jenkinsfile
All checks were successful
Gitea/FrameTour-BE/pipeline/head This commit looks good

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

20
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,20 @@
pipeline {
agent any
tools {
jdk 'openjdk21'
maven 'Default'
}
stages {
stage('Build') {
steps {
sh 'mvn clean package -DskipTests=true'
}
}
}
post {
always {
archiveArtifacts artifacts: 'target/*.jar', allowEmptyArchive: true, onlyIfSuccessful: true
publishGiteaAssets assets: 'target/*.jar', followSymlinks: false, onlyIfSuccessful: true
}
}
}