Replace source with . to get env file
Change-Id: I28e31fcade7a43ba98a285e46a62c419ad77bfa7
Related-PROD: PROD-26583 (PROD:26583)
diff --git a/k8s-upgrade-pipeline.groovy b/k8s-upgrade-pipeline.groovy
index 6d9c8e0..79de867 100644
--- a/k8s-upgrade-pipeline.groovy
+++ b/k8s-upgrade-pipeline.groovy
@@ -294,7 +294,7 @@
common.infoMsg("Cluster health info:")
salt.cmdRun(pepperEnv, target, "kubectl get cs")
common.infoMsg("ETCD health info:")
- salt.cmdRun(pepperEnv, target, "source /var/lib/etcd/configenv && etcdctl cluster-health")
+ salt.cmdRun(pepperEnv, target, ". /var/lib/etcd/configenv && etcdctl cluster-health")
common.infoMsg("Calico peers info:")
salt.cmdRun(pepperEnv, target, "calicoctl node status")
}
@@ -732,4 +732,4 @@
throw e
}
}
-}
\ No newline at end of file
+}