修正提交分支错误

This commit is contained in:
2024-01-25 14:23:01 +08:00
parent 90a4284707
commit f0c9941478
3 changed files with 0 additions and 107 deletions

View File

@@ -1,39 +0,0 @@
pipeline {
agent {
kubernetes {
inheritFrom 'maven'
containerTemplate {
name 'maven'
image 'maven:3.8.4-jdk-8'
}
}
}
stages {
stage('拉取代码') {
steps {
checkout([$class: 'GitSCM', branches: [[name: 'devops']],
extensions: [[$class: 'CloneOption', depth: 1, shallow: true]], userRemoteConfigs: [[url: 'http://gitea.hhdxw.top:3000/yovinchen/xlcs.git']]
])
}
}
stage('编译jar包') {
agent none
steps {
container('maven') {
sh 'mvn -f xlcs-parent/pom.xml -B clean package -Dmaven.test.skip=true -Dautoconfig.skip'
}
}
}
stage('保存制品') {
steps {
archiveArtifacts(artifacts: 'xlcs-parent/service/service-acl/target/service-acl.jar', followSymlinks: false)
}
}
}
}