Przeglądaj źródła

Añado ip de okd a /etc/hosts

creylopez 1 rok temu
rodzic
commit
52f1737a93
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      Jenkinsfile

+ 6 - 0
Jenkinsfile

@@ -26,6 +26,12 @@ pipeline {
   }
   
   stages {
+    stage ('Añadir ip del cluster okd') {
+      steps {
+        sh 'echo "192.168.1.116 api.ocp-cluster.reymota.lab" | sudo tee -a /etc/hosts'
+      }
+
+    }
     stage('Crea las PVC') {
       when {
         expression { params.claims}