Language Groovy

Kotlin is not officially supported.

Jenkins pipelines are officially defined using a Groovy-based DSL. While there are community projects and experimental efforts to introduce a Kotlin DSL for Jenkins, it is not part of the official, mainstream Jenkins support. - o3-mini.