Package org.jenkinsci.gradle.plugins.jpi2
package org.jenkinsci.gradle.plugins.jpi2
-
ClassDescriptionDefines artifact types for Jenkins plugin dependencies.Verifies that multiple compile outputs don't produce conflicting Sezpoz annotation index files or duplicate
hudson.Pluginservice entries — both of which break Jenkins plugin loading.Copies the Jenkins plugin (.hpi/.jpi) dependencies resolved on the test classpath into thetest-dependencieslayout that jenkins-test-harness'sUnitTestSupportingPluginManagerreads at runtime: atest-dependencies/indexfile listing one plugin short name per line, alongside a<shortName>.jpifile for each.Renames plugin files by stripping the version from the filename and normalising the extension to the target (e.g.Generates an HPL (Hudson Plugin Link) file for running Jenkins against local classes and resources.Generateslicenses.xmlfor libraries bundled into the plugin package.Generates the optional Jenkins manifest fragment that declares whether a plugin supports dynamic loading, derived from thedynamicLoadableattribute of Sezpoz extension entries.Computes a version string from the Git repository (commit depth + abbreviated hash).Result of computing the Git-derived version (version string and full hash for file output).A shared Gradle build service used purely as a concurrency gate for launching Jenkins.Represents a plugin developer for the plugin manifest and POM.Represents a plugin license for the plugin POM.A Shared Gradle build service that provides port allocation functionality.Task that launches a Jenkins server and terminates after success or first error.Gradle plugin for building Jenkins plugins (JPI files).