Plugin Documentation

Goals available for this plugin:

GoalDescription
jenkins:cliConnect to a Jenkins server and execute a Jenkins CLI command
jenkins:createjobConnect to a Jenkins server and create a Jenkins job
jenkins:createjobsConnect to a Jenkins server and create one or more Jenkins jobs
jenkins:deletejobConnect to a Jenkins server and delete a job
jenkins:deletejobsConnect to a Jenkins server and delete one or more jobs
jenkins:genjobGenerate an XML config file for a Jenkins job to the local file system.
jenkins:genjobsGenerate one or more XML config files for Jenkins jobs to the local file system.
jenkins:getjobConnect to a Jenkins server and retrieve an XML document describing the job configuration
jenkins:getjobsConnect to a Jenkins server and retrieve XML documents describing one or more job configurations
jenkins:runjobConnect to a Jenkins server and schedule a job to run
jenkins:updatejobConnect to a Jenkins server and update an existing jobs configuration
jenkins:updatejobsConnect to a Jenkins server and update one or more existing jobs configuration

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven2.0
JDK1.6
MemoryNo minimum requirement.
Disk SpaceNo minimum requirement.

Usage

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.0.3</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.0.3</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"