Skip to content

Fix HTTPS validation problem when ssh executor is used

What does this MR do?

Fixes wrong behaviour that happens, when fetch strategy is used together with ssh executor in the default configuration (when the directory where sources are cloned is by default a relative builds/).

This MR makes the git config commands to use already exported variables, which point to the certificate/key files.

Why was this MR needed?

Please #2950 (closed) (and especially #2950 (comment 81609070)) for context.

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

Closes #2950 (closed)

Merge request reports