浏览代码

更新 'Jenkinsfile'

chenghongxi 4 年之前
父节点
当前提交
de990f8abf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -10,7 +10,7 @@ node {
         checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'd4b4c06c-7a45-4969-a06d-8363858e81cd', url: 'http://10.68.0.122:3000/fanyijian/k8s.git']]])}
     stage('build images') {
         for (int i = 0; i < projectList.length ; i++) {
-             sh "echo 正在build images,项目名为:${projectList[i]} "
+             echo "正在build images,项目名为:${projectList[i]}"
              sh "docker build -t ${xy_image}${projectList[i]}:${release} -f ${jenkins_home}${projectList[i]}/Dockerfile ${jenkins_home}${projectList[i]}"
         }      
     }