Jenkins job parameters can be passed to Gradle either as Java system properties (-D), or as Gradle properties (-P). Using properties has the advantage that job parameters are directly accessible in the Gradle DSL, e.g. project.hasProperty(...).