Mvn: command not found ... but it manually works when connected via ssh to the container

OK so I’ve solved it right after have written this post…

  1. to solve the issue with the environment variable I’ve moved the ‘environment’ under the docker image.
  2. to solve the issue with maven I have removed --login from the shell: command.