MVN

ch.sourcepond.maven.plugins : jenkins-maven-plugin

Maven & Gradle

Aug 12, 2015

Jenkins Maven Plugin · The Jenkins Maven Plugin allows to use the Jenkins CLI (command line interface) from within a Maven build. It allows the execution of any command supported by the CLI, see https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI for further information. Therefore, it downloads the current jenkins-cli.jar from ${project.ciManagement.url}/jnlpJars/jenkins-cli.jar and uses that artifact for interacting with the Jenkins server. The architecture of the Jenkins Maven Plugin follows the UNIX philosophy "do one thing and do it well": it does not provide any logic for specific tasks, for instance creating job configuration files. This can be done with another, more appropriate plugin and its result can then be specified as stdin to the Jenkins Maven Plugin.

<plugin>
    <groupId>ch.sourcepond.maven.plugins</groupId>
    <artifactId>jenkins-maven-plugin</artifactId>
    <version>1.2.0</version>
</plugin>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of ch.sourcepond.maven.plugins : jenkins-maven-plugin to add to Maven - Latest Versions:

  • Latest Stable: 1.2.0

All Versions

Choose a version of ch.sourcepond.maven.plugins : jenkins-maven-plugin to add to Maven - All Versions:

Version Vulnerabilities Updated
1.2.x
jenkins-maven-plugin-1.2.0
1.1.x
jenkins-maven-plugin-1.1.0
1.0.x
jenkins-maven-plugin-1.0.2
jenkins-maven-plugin-1.0.1

How to add a plugin to Maven

Add the maven plugin to the pom.xml file information in this tag as follows:

<plugin>
    <groupId>ch.sourcepond.maven.plugins</groupId>
    <artifactId>jenkins-maven-plugin</artifactId>
    <version>1.2.0</version>
</plugin>