Gitlab CI/CD runner : mvn command not found
问题 Maven is well installed on my gitlab-runner server. When executing mvn clean directly on my repo it works, when running my pipeline using Gitlab UI got this error : bash: line 60: mvn: command not found ERROR: Job failed: exit status 1 I notice that I tried to fix the problem by adding the before_script section in the .gitlab-ci.yml file : before_script: - export MAVEN_HOME=/usr/local/apache-maven I add also the line : environment = ["MAVEN_HOME=/usr/local/apache-maven"] on the config.toml