ソースを参照

Añado ip de okd a /etc/hosts

creylopez 1 年間 前
親
コミット
52f1737a93
1 ファイル変更、6 行追加、0 行削除
  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}