system-config/modules/openstack_project/files/jenkins_job_builder/config/gitdm.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

20 lines
407 B
YAML

- job-template:
name: '{pipeline}-gitdm'
node: '{node}'
builders:
- link-logs
- net-info
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
export TEMPDIR=${{TEMPDIR:-$(mktemp -d $(pwd)/dmtmp-XXXXXX)}}
export GITBASE=${{TEMPDIR}}/git
export LP_STATS=n
bash ./do-it.sh
publishers:
- console-log