测试脚本
This commit is contained in:
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -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/'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user