public class EnvironmentUtils
extends java.lang.Object
| Constructor and Description |
|---|
EnvironmentUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getBuildURI()
Get the URI of the current build from the environment variables set on common build systems like GitHub Actions, GitLab CI, etc.
|
static java.lang.String |
getBuildURI(java.lang.String str)
Get the URI of the current build from the specified environment variable.
|
@Nullable public static java.lang.String getBuildURI()
@Nullable public static java.lang.String getBuildURI(java.lang.String str)
str - the name of the environment variable or pattern to use