Why is the AWS CLI not working with the EnvInject plugin?

Issue

I installed the AWS CLI plugin. When I attempt to use ‘aws’ from a shell script I get a command not found error.

Environment

  • AWS CLI job configuration
  • EnvInject Plugin

Resolution

The EnvInject plugin is known to cause troubles with the PATH of the jobs.

Adding ${home}/.local/bin to the PATH is the right workaround if you have installed the EnvInject plugin.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.