詹金斯:无法连接到服务器。未找到可执行 aws

Jenkins: Unable to connect to the server. executable aws not found

我在 OS X 上 运行 Jenkins 并且在一步中,我收到以下错误,

Constructing AWS CredentialsSetting AWS region us-east-1a 
 [Pipeline] {
[Pipeline] sh
+ echo 'Deploy blue container...'
Deploy blue container...
[Pipeline] sh
+ /usr/local/bin/kubectl apply -f ./blue/blue.yaml
Unable to connect to the server: getting credentials: exec: executable aws not found

It looks like you are trying to use a client-go credential plugin that is not installed.

To learn more about this feature, consult the documentation available at:
      https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins

错误提示找不到可执行的 AWS。我如何将它提供给 Jenkins?

PS:

$ aws --version 
aws-cli/2.2.3 Python/3.8.8 Darwin/19.6.0 exe/x86_64 prompt/off

我删除了 minikube 并重新开始。之后就好了:

minukube delete
minukube start