feat: add MAVEN_SETTINGS_PATH
All checks were successful
Release / release (push) Successful in 3m2s
All checks were successful
Release / release (push) Successful in 3m2s
This commit is contained in:
@@ -6,6 +6,8 @@ Environment variables
|
||||
- `MAVEN_SETTINGS_BASE64` (preferred): base64-encoded contents of the `settings.xml`. If present, the entrypoint will decode it and write it to `~/.m2/settings.xml`.
|
||||
- `MAVEN_SETTINGS`: raw contents of the `settings.xml`. Used only if `MAVEN_SETTINGS_BASE64` is not set.
|
||||
|
||||
- `MAVEN_SETTINGS_PATH`: path to the `settings.xml` inside the container (exported by the entrypoint). Typically `/home/ci/.m2/settings.xml` or `~/.m2/settings.xml` depending on the user; use this variable in scripts to locate the file reliably.
|
||||
|
||||
Notes
|
||||
- The entrypoint will create `~/.m2` if it does not exist and set the `settings.xml` file to mode `644`.
|
||||
- Use `MAVEN_SETTINGS_BASE64` when your CI system has trouble preserving newlines or special characters in environment variables.
|
||||
|
||||
Reference in New Issue
Block a user