This gets exposed to the project as 'jpi' to offer additional convenience methods.
| Modifiers | Name | Description |
|---|---|---|
class |
JpiExtension.Developers |
|
class |
JpiExtension.Licenses |
| Type | Name and description |
|---|---|
java.lang.String |
compatibleSinceVersionTODO: document |
boolean |
configurePublishingIf false, no publications or repositories for the Maven Publishing plugin will be configured. |
boolean |
configureRepositoriesSet to false to disable configuration of Maven Central, the local Maven cache and the Jenkins Maven repository. |
java.lang.String |
coreVersion |
JpiExtension.Developers |
developers |
boolean |
disabledTestInjectionIf true, the automatic test injection will be skipped. |
java.lang.String |
displayName |
java.lang.String |
fileExtension |
java.lang.String |
gitHubUrlThe GitHub URL. |
java.lang.String |
injectedTestNameName of the injected test. |
org.gradle.api.provider.Property<java.lang.String> |
jenkinsVersion |
java.util.Map<java.lang.String, java.lang.String> |
jenkinsWarCoordinates |
JpiExtension.Licenses |
licensesThe license for the plugin. |
java.lang.Object |
localizerOutputDir |
java.lang.String |
maskClassesTODO: document |
boolean |
pluginFirstClassLoader |
org.gradle.api.Project |
project |
java.lang.String |
repoUrl |
boolean |
requirePIIf true, verify that all the jelly scripts have the Jelly XSS PI in them. |
boolean |
sandboxStatusTODO: document |
java.lang.String |
shortName |
java.lang.String |
snapshotRepoUrl |
java.lang.String |
urlURL that points to the home page of this plugin. |
org.gradle.api.provider.Provider<java.lang.String> |
validatedJenkinsVersion |
java.io.File |
workDir |
| Constructor and description |
|---|
JpiExtension
(org.gradle.api.Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Object |
developers(groovy.lang.Closure closure) |
|
java.lang.String |
getCoreVersion() |
|
java.lang.String |
getDisplayName()One-line display name of this plugin. |
|
java.lang.String |
getFileExtension()File extension for plugin archives. |
|
java.io.File |
getLocalizerOutputDir()Returns the localizer output directory. |
|
java.lang.String |
getRepoUrl()The URL for the Maven repository to deploy the built plugin to. |
|
java.lang.String |
getShortName()Short name of the plugin is the ID that uniquely identifies a plugin. |
|
java.lang.String |
getSnapshotRepoUrl()The URL for the Maven snapshot repository to deploy the built plugin to. |
|
java.io.File |
getWorkDir() |
|
java.lang.Object |
licenses(groovy.lang.Closure closure) |
|
org.gradle.api.tasks.SourceSet |
mainSourceTree() |
|
void |
setCoreVersion(java.lang.String v) |
|
void |
setDisplayName(java.lang.String s) |
|
void |
setFileExtension(java.lang.String s) |
|
void |
setLocalizerOutputDir(java.lang.Object localizerOutputDir)Sets the localizer output directory |
|
void |
setRepoUrl(java.lang.String repoUrl) |
|
void |
setShortName(java.lang.String shortName) |
|
void |
setSnapshotRepoUrl(java.lang.String snapshotRepoUrl) |
|
void |
setWorkDir(java.io.File workDir)Work directory to run Jenkins.war with. |
|
org.gradle.api.tasks.SourceSet |
testSourceTree() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
TODO: document
If false, no publications or repositories for the Maven Publishing plugin will be configured.
Set to false to disable configuration of Maven Central, the local Maven cache and the Jenkins Maven repository.
If true, the automatic test injection will be skipped. Disabled by default because of JENKINS-21977.
The GitHub URL. Optional. Used to construct the SCM section of the POM.
Name of the injected test.
The license for the plugin. Optional.
TODO: document
If true, verify that all the jelly scripts have the Jelly XSS PI in them.
TODO: document
URL that points to the home page of this plugin.
One-line display name of this plugin. Should be human readable. For example, "Git plugin", "Acme Executor plugin", etc.
File extension for plugin archives.
Returns the localizer output directory.
The URL for the Maven repository to deploy the built plugin to.
Short name of the plugin is the ID that uniquely identifies a plugin. If unspecified, we use the project name except the trailing "-plugin"
The URL for the Maven snapshot repository to deploy the built plugin to.
Sets the localizer output directory
Work directory to run Jenkins.war with.
Groovy Documentation