Skip to content

kettj/cob-pipeline-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cob-pipeline-plugin

This plugin provides the possibility to configure a user-specific build and test pipeline for ROS repositories inside Jenkins.

For further informations check the README of the jenkins_setup repository.

Short Developers Guide

All necessary information how to develop a Jenkins plugin can be found in the Extend Jenkins section in the Jenkins Wiki. The Plugin Tutorial gives helpful overview of the usage of the development tool Maven and the most useful commands.

Enhance this plugin

  • Set up a development environment

  • Clone this repository into your workspace:

    git clone git@github.com:ipa320/cob-pipeline-plugin.git
  • After you enhanced something you can easily test it on a local Jenkins instance:

    export MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n"
    mvn clean && mvn hpi:run

    The Jenkins server is avialable on http://localhost:8080/jenkins. Changes in files (e.g. config.jelly, help-message.html, ..) below the `src/main/resources/..' folder can be seen online. You don't need to restart the whole Jenkins instance, just reload the site.

Distribute plugin

When you reach a state you want to want to distribute, you can create a image with:

mvn clean && mvn package

This should create the target/cob-pipeline.hpi file, which can be installed in Jenkins by store it in /var/lib/jenkins/plugins/. Reload Jenkins to activate it.

More informations are available on the official Plugin Tutorial Wiki Site.

About

Jenkins plugin which provides user-specific build and test pipelines for ROS repositories

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages