瀏覽代碼

Обновить 'Jenkinsfile'

Vladimir Tomishinets 7 年之前
父節點
當前提交
56791e5edc
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Jenkinsfile

+ 3 - 1
Jenkinsfile

@@ -19,7 +19,9 @@ pipeline {
   stages {
     stage("PULL REPOs") {
       steps {
-        echo "Pull repo ${SWARM_GIT_NAME}"
+        ansiColor('xterm') {
+          echo "Pull repo ${SWARM_GIT_NAME}"
+        }
         withCredentials([sshUserPrivateKey(credentialsId: 'provision', keyFileVariable: 'GIT_SSH_KEY', passphraseVariable: '', usernameVariable: 'GIT_SSH_USERNAME')]) {
           sh '''GIT_SSH_COMMAND='ssh -i ${GIT_SSH_KEY} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' \
                 git clone ${SWARM_GIT_URL}'''