Selaa lähdekoodia

Обновить 'Jenkinsfile'

Vladimir Tomishinets 6 vuotta sitten
vanhempi
commit
56791e5edc
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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}'''