cowboyd/jenkins.rb — Issue #33: Plugin system for templates
Author: textgoeshere
Created: 2012-02-01 11:29:54+00:00
State: open

Following on https://github.com/cowboyd/jenkins.rb/issues/31#issuecomment-3720385

What I propose initially is the ability to supply Ruby files that will be required at runtime by Jenkins. Users can then define and load their own templating code based on the existing Job::ConfigBuilder class.

Scenario: Create job with steps from custom template (jenkins create -r my_sweet_config_builder.rb --template my_template)

This is a similar pattern to, say, RSpec where you can load and use custom formatters at runtime.