User not redirected to Environment URL when URL is clicked
Problem Statement
Testing out Review App functionality for Salesforce development. There is not K8s or container based environments, but there are URL endpoints for ephemeral environments that are used for testing and staging within CI/CD pipeline for SFDX.
Here is an example CI/CD template for reference. You'll notice in line 85 the following yaml:
environment:
name: scratch/$CI_COMMIT_REF_SLUG
url: $CI_PROJECT_URL/-/jobs/$CI_JOB_ID/artifacts/raw/ENVIRONMENT.html
Here is an example pipeline which shows the View App GUI in the MR. When you click the button, an HTML file is downloaded and when manually opened, the environment is launched in the browser.
What's configured incorrectly? The desired UX is to have the button simply open a new tab to the URL endpoint.
Edited by Jason Yavorsky