Skip to content

fix(env-var): respect GITLAB_HOST environment variable in all commands

Description

  • fix(env-var): respect GITLAB_HOST environment variable in all commands

This change set fixes a bug introduced in !2181 (merged) that didn't respect the GITLAB_HOST environment variable.

The problem was that the host, that is mapped to an environment variable, was evaluated only after the base repository together with its host (as the factory default host) was cached.

Refs #7523 (closed)

Related Issues

Resolves #7523 (closed)

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap

Merge request reports

Loading