Zuul

The Zuul module adds jobs parameters to manually run a build as Zuul would have. It is entirely optional, Zuul 2.0+ pass the parameters over Gearman.

class zuul.Zuul(registry)
handle_data(job_data)

This method is called before any XML is generated. By overriding this method, a module may arbitrarily modify a data structure which will probably be the JJB YamlParser’s intermediate data representation. If it has changed the data structure at all, it must return True, otherwise, it must return False.

Parameters:job_data (dict) – the intermediate representation of job data loaded from JJB Yaml files without variables interpolation or other yaml expansions.
Return type:boolean
zuul

Configure this job to be triggered by Zuul.

Adds parameters describing the change triggering the build such as the branch name, change number and patchset.

See parameters expected by Zuul.

Example:

triggers:
  - zuul
zuul-post

Configure this post-merge job to be triggered by Zuul.

Adds parameters describing the reference update triggering the build, which are the previous and next revisions in full (40 hexadecimal sha1) and short form.

See parameters expected by Zuul.

Example:

triggers:
  - zuul-post