浏览代码

Update Jenkinsfile

creylopez 1 年之前
父节点
当前提交
e2a50dd20f
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -28,7 +28,7 @@ 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'
+        sh 'echo "192.168.1.116 api.ocp-cluster.reymota.lab" | tee -a /etc/hosts'
       }
 
     }