Skip to main content

Groovy Postbuild Plugin

Groovy bosp build plugin allow to run groovy script after build finish.

There are two great things with groovy post build plugin (hudson examples - link):
(Code of plugin is in here. It contains good examples)

(1) You can access model of current build via manager object
(2) You can manipulate mode of current build

  • Change build status of build: buildUnstable(), buildFailure(), buildSuccess()
  • Change build page: createSummary(icon) - creates an entry in the build summary page a 

Comments

Popular posts from this blog

Best freeware - XML editor

As a software developer, I open XML files all the time. I a heavy commercial XML editor. But nothing can compare to a small, thin and free XML editor like 'foxe'. A great feature is has is the alignment of long XML strings to readable XML format (Shift-F8). It help lot of times when the XML file was generated by some tool and was not readable. Homepage: http://www.firstobject.com/dn_editor.htm

SSL in pictures

Here is my summary on SSL (or as I like to call it 'SSL for dummies')

Jenkins error: groovy.lang.MissingPropertyException

I tried to run groovy build step and got below error. This post will describe how I solved the problem. Caught: groovy.lang.MissingPropertyException: No such property: hudson for class: script