Score:0

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

bt flag

I run Jenkins on OS X and at one step, I receive the following error,

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

The error informs that executable AWS not found. How do I provide it to the Jenkins?

in flag
Hi Arefe welcome to S.F. What steps have you already taken to resolve this, and what was the outcome from trying those steps? There are almost unlimited ways to solve this problem, but we'd rather not rehash ones that you have already tried. Please read the [how to ask](https://serverfault.com/help/how-to-ask) page to maximize your benefit from the Stack Exchange network. Good luck
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.