Owner:
Steve Hill
A plugin for building Jenkins plugins
Version 0.55.0
Created 18 July 2025.
A plugin for building Jenkins plugins with Gradle 8+
Add this plugin to your build using the plugins DSL:
plugins {
id("org.jenkins-ci.jpi2") version "0.55.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("org.jenkins-ci.jpi2:org.jenkins-ci.jpi2.gradle.plugin:0.55.0") }It can then be applied in the precompiled script plugin:plugins { id("org.jenkins-ci.jpi2") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("org.jenkins-ci.jpi2:org.jenkins-ci.jpi2.gradle.plugin:0.55.0") } } apply(plugin = "org.jenkins-ci.jpi2") - Applying plugins to all subprojects .