Skip to content

cowboyd/jenkins-prototype-ruby-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A prototype for a pure ruby plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages