Sfoglia il codice sorgente

Añado ip de okd a /etc/hosts

creylopez 1 anno fa
parent
commit
52f1737a93
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  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}