Goals available for this plugin:
Goal | Description |
---|---|
jenkins:cli | Connect to a Jenkins server and execute one or more Jenkins CLI commands. |
jenkins:createjobs | Connect to a Jenkins server and create a Jenkins job |
jenkins:deletejob | Connect to a Jenkins server and delete a job |
jenkins:deletejobs | Connect to a Jenkins server and delete one or more jobs |
jenkins:env8 | No description. |
jenkins:genjob | Generate an XML config file in the format required for a Jenkins job |
jenkins:genjobs | Generate XML config files in the format required for Jenkins jobs |
jenkins:getjob | Connect to a Jenkins server and retrieve an XML document describing the job configuration |
jenkins:getjobs | Connect to a Jenkins server and retrieve XML documents describing jobs |
jenkins:rice | No description. |
jenkins:runjob | Connect to a Jenkins server and kick off a job |
jenkins:runjobs | Connect to a Jenkins server and kick off one or more jobs |
jenkins:syncworkspace | Synchronize a Jenkins workspace to another location using
rsync . To use this mojo, the rsync
utility must be installed and in your path. If the mojo completes
successfully the destination directory will contain
the exact same set of files as the source directory.
For the purposes of this mojo, "exactly the same" means, all the
files on both sides have the same name, the same size, and the same
last modified date. |
jenkins:syncworkspaces | Sync any workspaces from the Jenkins master to a workspace server. Only sync workspaces where the build number has changed since the last sync call. |
jenkins:updatejobs | Connect to a Jenkins server and update one or more Jenkins job |
jenkins:updatejobsmavenversion | No description. |
jenkins:updateparameterizedbuildnumber | Update the default value of the parameterized build number for the indicated jobs so it matches the build number of the currently executing job. Note that this updates the config.xml on the local file system and will have no affect until Jenkins is restarted or configuration is reloaded from disk. |
jenkins:updateslaveami | Update the slave AMI being used by the Jenkins EC2 plugin |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 1.6 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>org.kuali.maven.plugins</groupId> <artifactId>jenkins-maven-plugin</artifactId> <version>1.2.5</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.kuali.maven.plugins</groupId> <artifactId>jenkins-maven-plugin</artifactId> <version>1.2.5</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"