I am using Helm 3 and I would like to deploy myapp via Helm and Jenkins.I can able to run kubectl
command in Jenkins pipeline but when stage runs helm --upgrade install
command run I received an error. What might be the missing point?
Console Output
+ export KUBECONFIG=****
+ KUBECONFIG=****
+ kubectl config use-context c1
Switched to context "c1".
+ helm upgrade --install my-app -f values.dev.yaml --namespace dev
/home/ubuntu/workspace/my-app@tmp/durable-8c9e7261/script.sh: line 4: helm: command not found
Helm is not installed on the node where jenkins is running the pipeline. Make sure that you install helm in all nodes including master or slave jenkins nodes.