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: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: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 | No description. |
jenkins:updatejobs | Connect to a Jenkins server and update one or more Jenkins job |
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.1.11-SNAPSHOT</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.1.11-SNAPSHOT</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"