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

SSL in pictures

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

Digital signature in pictures

I never remember what happens when digital signature is used. So here is my summary 'Digital signature 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