瀏覽代碼

更新 Jenkinsfile

alair 4 月之前
父節點
當前提交
6ea485c264
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -9,7 +9,7 @@ pipeline{
     stages {
         stage('拉取git仓库代码') {
             steps {
-                echo '拉取git仓库代码 - SUCCESS'
+                checkout scmGit(branches: [[name: '${tag}']], extensions: [], userRemoteConfigs: [[credentialsId: 'ef3dc13b-dfb3-4c7a-932d-af43fd8e0fa0', url: 'http://10.244.0.5:8418/alair/myTest.git']])
             }
         }
         stage('通过maven构建项目') {