浏览代码

Jenkinsfile dev

Vadim Surkov 7 年之前
父节点
当前提交
317347c485
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      Jenkinsfile

+ 2 - 4
Jenkinsfile

@@ -76,11 +76,9 @@ pipeline {
                 git add -A
                 git config --global user.email "${JENKINS_MAIL}"
                 git config --global user.name "Jenkins"
-                echo ${GIT_SSH_KEY}
-                cat ${GIT_SSH_KEY}
+                git commit -am 'Version update'
                 GIT_SSH_COMMAND='ssh -i ${GIT_SSH_KEY} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' \
-                  git commit -am 'Version update'
-                git push origin master
+                  git push origin master
                 ls'''
         }
       }