This repository was archived by the owner on Jan 25, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 78
Developing the SDK: Getting Started
kohsuke edited this page Mar 8, 2012
·
1 revision
If you are interested in hacking the plugin development toolkit and its runtime, follow this to setup your environment.
- RVM
- JRuby
Simply clone this repository
cd ruby-tools/jpi
bundle install
bundle exec rake build
This gem provides the glue between the native Jenkins runtime which is implemented in Java, and an idiomatic API that allows for development with a Ruby 'feel':
cd ruby-runtime
bundle install
bundle exec rake install
This produces ruby-runtime.hpi that packages Java/Ruby glue layer as a reusable Jenkins plugin. See java-runtime/README for how to build this.
Where you run jpi ..., run path/to/ruby-tools/jpi/bin/jpi ... to use the latest jpi tool from your workspace.
TODO: how to use the custom built ruby-runtime?
TODO: Pluginspec file needs to be modified to use this custom built java-runtime. Find out and document how.