Sudo Power To a Jenkins Job

19 views
Skip to first unread message

GBANE FETIGUE

unread,
Oct 28, 2015, 3:07:12 PM10/28/15
to Jenkins Users
Hey guys
Is anybody knows how to set sudo power to command on jenkins job. because I am having this command and I can run that on jenkins without sudo I am having permission issues
sudo s3cmd -c /root/.s3cfg get s3://snapav-code/cs-system-status/cs-system-status-7ab76c7ec22af26fa3605d55750b6050e5ca17d5-2015-10-27_21-13-02--71.tar.gz

John Mellor

unread,
Oct 29, 2015, 8:58:47 AM10/29/15
to jenkins...@googlegroups.com

I do that all the time when pulling in prerequisite components in a pbuilder environment.  Just set the jenkins user up appropriately in the sudoers list.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a13020e9-6b39-45ed-aabf-3373edee1703%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages