更新 'Jenkinsfile'

main
msb_134187 1 year ago
parent 7dc7010e16
commit 53d082a135

2
Jenkinsfile vendored

@ -9,7 +9,7 @@ pipeline {
stages { // 定义流水线中的各个阶段 stages { // 定义流水线中的各个阶段
stage('拉取git仓库代码') { // 阶段1从Git仓库拉取代码 stage('拉取git仓库代码') { // 阶段1从Git仓库拉取代码
steps { steps {
echo '拉取git仓库代码--成功' // 打印信息表示拉取代码阶段成功完成 checkout scmGit(branches: [[name: '${tag}']], extensions: [], userRemoteConfigs: [[url: 'https://git.mashibing.com/msb_134187/ljj_spring_test.git']])
} }
} }
stage('maven打包') { // 阶段2使用maven进行应用打包 stage('maven打包') { // 阶段2使用maven进行应用打包

Loading…
Cancel
Save