瀏覽代碼

Jenkinsfile dev

Vadim Surkov 7 年之前
父節點
當前提交
8c5c80e69b
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Jenkinsfile

+ 3 - 1
Jenkinsfile

@@ -76,9 +76,11 @@ 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_SSH_COMMAND='ssh -i ${GIT_SSH_KEY} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' \
                   git commit -am 'Version update'
-                git push
+                git push origin master
                 ls'''
         }
       }