[libvirt] [PATCH jenkins-ci 02/19] jobs: add a template for generic build process
Pavel Hrdina
phrdina at redhat.com
Fri Aug 5 12:28:37 UTC 2016
On Thu, Aug 04, 2016 at 03:52:11PM +0100, Daniel P. Berrange wrote:
> Add a template for projects which don't fit into
> any of the special purpose templates.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> jobs/generic.yaml | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 124 insertions(+)
> create mode 100644 jobs/generic.yaml
>
> diff --git a/jobs/generic.yaml b/jobs/generic.yaml
> new file mode 100644
> index 0000000..12de76a
> --- /dev/null
> +++ b/jobs/generic.yaml
> @@ -0,0 +1,124 @@
[...]
> +- job-template:
> + id: generic-check-job
> + name: '{name}-check'
> + project-type: matrix
> + description: '{title} Check'
> + workspace: '{name}'
> + block-downstream: true
> + block-upstream: true
> + properties:
> + - build-discarder:
> + days-to-keep: 30
> + num-to-keep: 1000
> + triggers:
> + - reverse:
> + jobs: '{obj:parent_jobs}'
> + axes:
> + - axis:
> + name: systems
> + type: slave
> + values: '{obj:machines}'
> + builders:
> + - shell: |
> + cd build
> + make -j{smp} check
This should be also "- shell: '{command}'"
> + publishers:
> + - email:
> + recipients: '{obj:spam}'
> + notify-every-unstable-build: true
> + send-to-individuals: false
More information about the libvir-list
mailing list