Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A prototype for a pure ruby plugin
Ruby

This branch is 20 commits behind cowboyd:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
models
views
.gitignore
Gemfile
README.md
Rakefile
ruby-prototype.pluginspec

README.md

A prototype Ruby plugin

There is no Java, only Ruby.

This is a sample ground for what a pure ruby Jenkins plugin would look like on its own. It is different than the jenkins-ruby-plugins-playground in that it is not "embedded" inside a vanilla Java plugin. It has its own structure that is completely independent.

Inside this plugin are several extension points.

Running

  1. use JRuby
  2. bundle
  3. rake server

Extensions

Logging Wrapper

LoggingWrapper.

This is a trivial BuildWrapper that outputs a message to the console whenever a build starts and when it finishes.

TestRootAction

TestRootAction demonstrates adding links to the main sidebar.

ModelReloadAction

'ModelReloadAction'

reloads all of the Ruby classes in the plugin. Very useful for development!

DirectoryListingAction

https://github.com/cowboyd/jenkins-prototype-ruby-plugin/blob/master/models/root_action.rb#L72

list the contents of the ruby plugin

Something went wrong with that request. Please try again.