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

Article ID:204958650
1 minute readKnowledge base

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.