Fix jenkins sudo permissions

I incorrectly left the sudo extension on our jenkin sudo files.
This causes issues when using the sudo command.

Change-Id: I1b1bdc8622c945a75751cedc96f6b78bcf94122d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-04-17 20:25:38 -04:00
parent a692b93caa
commit 113c15ed66
3 changed files with 4 additions and 0 deletions

View File

@ -29,3 +29,7 @@ cp -a /opt/git/openstack-infra/project-config/jenkins/data \
/usr/local/jenkins/common_data
cp -a /opt/git/openstack-infra/project-config/jenkins/scripts \
/usr/local/jenkins/slave_scripts
# Make sure our sudoers files have the proper permissions.
chmod 0440 /etc/sudoers.d/jenkins-sudo
chmod 0440 /etc/sudoers.d/jenkins-sudo-grep