Files
FrameTour-BE/Jenkinsfile
Jerry Yan b0adf414d0
All checks were successful
Gitea/FrameTour-BE/pipeline/head This commit looks good
Jenkinsfile
2025-06-30 18:08:36 +08:00

20 lines
481 B
Groovy

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