You've already forked FrameTour-BE
Some checks failed
Gitea/FrameTour-BE/pipeline/head There was a failure building this commit
21 lines
604 B
Groovy
21 lines
604 B
Groovy
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: true, onlyIfSuccessful: true
|
|
publishGiteaAssets assets: 'target/*.jar', followSymlinks: false, onlyIfSuccessful: true
|
|
}
|
|
}
|
|
} |