fix(jenkins): pasar KC_URL como variable de entorno al contenedor Docker E2E

La variable KC_URL del bloque environment de Jenkins no se propaga
automáticamente al bash -lc del docker exec — debe pasarse con -e explícito.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-20 13:25:04 -05:00
parent cf84378a2e
commit d99429b58a

1
Jenkinsfile vendored
View File

@@ -207,6 +207,7 @@ pipeline {
-e VITE_KEYCLOAK_CLIENT_ID=anexo76-frontend \
-e KEYCLOAK_CLIENT_ID=anexo76-frontend \
-e ORIGIN=http://localhost:5173 \
-e "KC_URL=${KC_URL}" \
-e "E2E_KEYCLOAK_URL=${KC_URL}" \
-e "E2E_TEST_USER=${E2E_USER}" \
-e "E2E_TEST_PASSWORD=${E2E_PASS}" \