project-config/jenkins/jobs/openstack-ansible-jobs.yaml
Andy McCrae 7e8bcae8ff Add "test-results" publisher to OpenStack-Ansible periodic jobs
Add the test-results publisher to the OpenStack-Ansible periodic jobs
in order to have these periodic jobs show up in openstack-health.

Change-Id: Ia1e025306cee7eb60a40504b580143b16c03cf87
2017-07-18 16:12:41 +01:00

49 lines
1.2 KiB
YAML

- job-template:
name: 'gate-{name}-openstack-ansible-{scenario}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 120
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- shell: |
#!/bin/bash -xe
# Output all the zuul parameters to a file
# which can be sourced in the functional test.
printenv | grep ^ZUUL > zuul.env
# Execute the functional test
sudo scripts/gate-check-commit.sh "{scenario}"
publishers:
- devstack-logs
- test-results
- console-log
- job-template:
name: 'periodic-openstack-ansible-{action}-{scenario}-{branch-name}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 240
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-branch-prep-upper-constraints:
branch: '{branch}'
- shell: |
#!/bin/bash -xe
sudo scripts/gate-check-commit.sh "{scenario}" "{action}"
publishers:
- devstack-logs
- test-results
- console-log