Fuse Day3 - Reactor job, new hudson job type - session summary

Hudson reactor plugin

A new Job type designed to configure a flow of pre defined jobs in a Hudson / Jenkins instance.

The Reactor job type will define Phases, each phase will invoke jobs in parallel.

 

Whilst introducing a Reactor Job type and enabelng each job to have it's own behavior when executed seperatelly. We will define a view which will list the execution chain of events, The Reactor acting as the top level invoker which in turn will call each Phase defined in the Recator's configuration.

 

Session targets:

1. Reactor job configuration

  1. Define a new job type called Reactor - based on "free style job"
  2. Define build step type - 'Reactor Phase' - with the following fields
    1. Reactor name
    2. Jobs to invoke. For each job:
      1. Job name - choose from exiting jobs list or add name and create the job later
      2. Job parameters from the job if exist in order to give an option to override default parameters values
      3. Step invocation trigger - trigger job when the previous phase is 
        • - Complete (always trigger)
        • - Stable
        • - Unstable
        • - Stable or Unstable but not Failed
        • - Failed
    3. Aggregation - checkboxs for change logs and artifacts 

 

2. Reactor Job view

3. Reactor Build view

4. Aggregation of changelog, artifacts (links to archived artifacts of the jobs) and logs (links to jobs logs invoked by reactor build inside the its log)

 

 

An example implementation would be:

 Phases configuration

 

 

Reactor View

 

Challenges we faced during the session:

  1. Learn jelly implementation in Hudson plugins (hpi)
  2. Understand view layout implementation for the reactor build
  3. Create context awareness in Reactor view by Implementing a project wrapper

 

Achievements:

 

  1. Defined a new job type called Reactor - based on "free style job"
  2. Defined build step type - 'Reactor Phase' - with the following fields
    1. Reactor name
    2. Jobs to invoke. For each job:
      1. Job name - get form exiting jobs list or add name and create the job later
  3. Reactor View - a new view which shows all reactor projects with all downstream job phases 

 

 

 

 

Thank you for your interest!

We will contact you as soon as possible.

Send us a message

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com