ソースを参照

更新 Jenkinsfile

alair 4 ヶ月 前
コミット
67111888f8
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -45,7 +45,7 @@ sshPublisher(publishers: [sshPublisherDesc(configName: 'rancher-k8s-dev', transf
         }
         stage('远程执行k8s-master的kubectl命令') {
             steps {
-                sh 'ssh root@10.211.55.12 kubectl apply -f pipeline.yaml'
+                sh 'ssh root@10.211.55.12 kubectl apply -f /usr/local/k8s/pipeline.yaml'
             }
         }
     }