Commit 28f058bf authored by yodadado's avatar yodadado
Browse files

Fix: result of `eval_mvn_settings_opt` function depends on current directory...

Fix: result of `eval_mvn_settings_opt` function depends on current directory so it must be evaluated before changing it to `$MAVEN_PROJECT_DIR`
parent 2c05b33a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -616,8 +616,8 @@ stages:
    - !reference [.mvn-scripts]
    - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
    - eval_java_proxy_args
    - eval_mvn_settings_opt
    - cd ${MAVEN_PROJECT_DIR}
    - eval_mvn_settings_opt
  # Cache downloaded dependencies and plugins between builds.
  # To keep cache across branches add 'key: "$CI_JOB_NAME"'
  cache: