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.
From: [email protected] [mailto:[email protected]] On Behalf Of GBANE FETIGUE Sent: October-28-15 15:07 To: Jenkins Users Subject: Sudo Power To a Jenkins Job 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 -- 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 [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a13020e9-6b39-45ed-aabf-3373edee1703%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/a13020e9-6b39-45ed-aabf-3373edee1703%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ea416594e94f4c81b706cc641604fd13%40mbx01colo01p.esentire.local. For more options, visit https://groups.google.com/d/optout.
