测试脚本

This commit is contained in:
2025-07-19 23:52:42 +08:00
parent 48d8c2faed
commit eddaaf7cfb

13
Jenkinsfile vendored
View File

@ -10,12 +10,12 @@ pipeline {
} }
stages { stages {
stage('Checkout') { // stage('Checkout') {
steps { // steps {
echo "📦 正在拉取代码..." // echo "📦 正在拉取代码..."
git branch: 'main', url: 'http://115.190.8.52:3000/sczx_group/sczx_order.git' // git branch: 'main', url: 'http://115.190.8.52:3000/sczx_group/sczx_order.git'
} // }
} // }
stage('Build with Maven in JDK 8') { stage('Build with Maven in JDK 8') {
agent { agent {
@ -26,7 +26,6 @@ pipeline {
steps { steps {
echo "🛠️ 正在使用 Maven 构建..." echo "🛠️ 正在使用 Maven 构建..."
sh 'mvn clean package -s settings.xml' sh 'mvn clean package -s settings.xml'
sh 'ls -la target/'
} }
} }