| `HURL_IMAGE` | The Docker image used to run Hurl. | `registry.hub.docker.com/hurl:latest` |
| `HURL_PROJECT_DIR` | The Hurl project directory (containing test scripts) | `.` |
| `HURL_EXTRA_ARGS` | Hurl extra [run options](link-to-cli-options-ref) | _none_ |
| `HURL_IMAGE`| The Docker image used to run Hurl. | `ghcr.io/orange-opensource/hurl:latest` |
| `HURL_TEST_FILES` | The Hurl test files to run | `hurl/*.hurl` |
| `HURL_EXTRA_ARGS`| Hurl extra [run options](https://hurl.dev/docs/manual.html#options) | _none_ |
| `REVIEW_ENABLED` | Set to `true` to enable Hurl tests on review environments (dynamic environments instantiated on development branches) | _none_ (disabled) |
In addition to a textual report in the console, this job produces the following reports, kept for one day:
| `$HURL_PROJECT_DIR/reports/Hurl.xunit.xml` | [xUnit](https://github.com/jest-community/jest-junit#readme) test report(s) | [GitLab integration](https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsjunit) |
| `reports/hurl.xunit.xml` | [xUnit](https://github.com/jest-community/jest-junit#readme) test report(s) | [GitLab integration](https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsjunit) |
### base url auto evaluation
By default, the Hurl template tries to auto-evaluate its base url
(i.e. the variable pointing at server under test) by looking either for a `$environment_url` variable or for an
By default, the Hurl template tries to auto-evaluate the base server url
(i.e. the variable pointing at server under test) by looking either for an`$environment_url` variable or for an
`environment_url.txt` file.
Therefore if an upstream job in the pipeline deployed your code to a server and propagated the deployed server url,
@@ -43,3 +44,5 @@ or through a basic `environment_url.txt` file, then the Hurl test will automatic
:warning: all our deployment templates implement this design. Therefore even purely dynamic environments (such as review
environments) will automatically be propagated to your Hurl tests.
When successfully determined, the base url is then [injected as `base_url` variable](https://hurl.dev/docs/templates.html#injecting-variables), and can be freely used in your Hurl scripts with the `{{base_url}}` expression.