Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Jenkins? Tomcat? Running Code w/ Permissions?

DZone's Guide to

Jenkins? Tomcat? Running Code w/ Permissions?

· DevOps Zone ·
Free Resource

Discover how you can reduce your Kubernetes installation from 22 steps to 1.

This script will probably help you! If you need to run some "SUDO" commands from Jenkins, you will probably need to first: 

1) Add jenkins user to SUDO, and 
2) Avoid passwords.

The following code will do it like a miracle:

echo 'jenkins  ALL= NOPASSWD: ALL' >> /etc/sudoers
echo 'Defaults:jenkins    !requiretty' >> /etc/sudoers

Download the Kubernetes cheatsheet to learn more about how easy it is to run Kubernetes on any infrastructure with Mesosphere DC/OS

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}