project-config/jenkins/jobs/openstack-ansible-jobs.yaml
Luz Cazares becef7c76e Place subunit result file in the correct place
Place the subunit result file for openstack-ansible jobs,
so that project job statistics can be seen at OpenStack-Health
dashboard

Change-Id: Iafeb4567aa0a7d2d5f818d45995c50ffdc0ef028
2017-06-14 21:28:32 +00:00

48 lines
1.2 KiB
YAML

- job-template:
name: 'gate-{name}-openstack-ansible-{scenario}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 90
- 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
- console-log