The Zuul module adds triggers that configure jobs for use with Zuul. It essentially adds the jobs parameters expected by Zuul.
With Zuul version 2.0 and later, this is optional. The jobs are triggered via the Jenkins Gearman plugin which passes the parameters internally. You might still want to explicitly define parameters to retain the possibility of triggering jobs manually via the Jenkins web interface (build with parameters).
To change the Zuul notification URL, set a global default:
- defaults:
name: global
zuul-url: http://127.0.0.1:8001/jenkins_endpoint
The above URL is the default.
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
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