| `SBT_IMAGE`| The Docker image used to run sbt <br/>:warning: **set the version required by your project** | `registry.hub.docker.com/sbtscala/scala-sbt:17.0.2_1.6.2_3.1.3` |
| `SBT_CLI_OPTS` | Additional sbt options used on the command line | `--batch` |
| `image` / `SBT_IMAGE` | The Docker image used to run sbt <br/>:warning: **set the version required by your project** | `registry.hub.docker.com/sbtscala/scala-sbt:17.0.2_1.6.2_3.1.3` |
| `SBT_BUILD_ARGS` | sbt arguments for the [build job packaging](https://www.scala-sbt.org/1.x/docs/Running.html#Common+commands) | `clean package` |
| `SBT_TEST_ARGS`| sbt arguments for the [build job test phase](https://www.scala-sbt.org/1.x/docs/Running.html#Common+commands) | `coverage test coverageAggregate` |
| `build-args` / `SBT_BUILD_ARGS` | sbt arguments for the [build job packaging](https://www.scala-sbt.org/1.x/docs/Running.html#Common+commands) | `clean package` |
| `test-args` / `SBT_TEST_ARGS` | sbt arguments for the [build job test phase](https://www.scala-sbt.org/1.x/docs/Running.html#Common+commands) | `coverage test coverageAggregate` |
Note:
- Always keep the `clean` goal to generate bytes code without any instrumentation coming from the test phasis.
@@ -120,11 +143,11 @@ This job generates a [SBOM](https://cyclonedx.org/) file listing all dependencie
It is bound to the `test` stage, and uses the following variables:
| Name | Description | Default value |
| Input / Variable | Description | Default value |