I run an end2end test in gitlab-CI , see https://docs.cypress.io/guides/guides/continuous-integration.html.
I run it after i deploy my app.
It works well but i want to change the base url in order to run it against my prod or my staging env. It is possible via an environment var passed to the test.
i don’t want to write a test job per environnement, then i would like to get the environnement URL via env var, but the $CI_ENVIRONMENT_URL is only available on the deploy job, not in the next one.
Is it possible to pass a variable form on job to a next job ?