继续修改

This commit is contained in:
2025-07-02 17:56:23 +08:00
parent 904018f92a
commit 05a07de9ec

12
Jenkinsfile vendored
View File

@ -1,19 +1,11 @@
pipeline {
agent any
tools {
maven 'M3' // 这个名称要和 Global Tool Configuration 中一致
}
stages {
stage('Build with Maven') {
steps {
sh 'mvn clean package'
}
}
}
environment {
APP_NAME = "sczx-app"
DOCKER_IMAGE = "${APP_NAME}:latest"
CONTAINER_NAME = "${APP_NAME}-container"
PATH = "/usr/local/apache-maven-3.9.10/bin:${env.PATH}"
}
stages {