system-config/modules/openstack_project/files/jenkins_job_builder/config/misc.yaml
James E. Blair 09d120485a Revoke sudo from most jobs
Revoke sudo from all jobs that do or could run on bare-precise nodes.
Do not revoke it from devstack-precise or special nodes.

Change-Id: Icaf0bb5d15b76f985d0d8c0ec4afa6a34568570a
2014-03-19 11:31:11 -07:00

64 lines
1.1 KiB
YAML

- job:
name: gate-noop
node: bare-precise
- job:
name: gate-grenade-noop
node: bare-precise
- job:
name: node-test
parameters:
- label:
name: NODE
description: Node to test
builders:
- shell: 'echo ok'
- job-template:
name: 'gate-{name}-run-tests'
builders:
- revoke-sudo
- gerrit-git-prep
- run-tests:
github-org: '{github-org}'
project: '{name}'
publishers:
- console-log
node: '{node}'
- job-template:
name: 'gate-{name}-bash8'
builders:
- revoke-sudo
- gerrit-git-prep
- bash8:
github-org: '{github-org}'
project: '{name}'
publishers:
- console-log
node: '{node}'
- job-template:
name: 'gate-{name}-unittests-{env}'
builders:
- revoke-sudo
- gerrit-git-prep
- shell: '/usr/local/jenkins/slave_scripts/run-unittests.sh {env} {github-org} {name}'
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'