मुझे जेनकिन्स में डिफ़ॉल्ट उपयोगकर्ता की बजाय रूट के रूप में एक खोल स्क्रिप्ट चलाने की आवश्यकता है। मुझे बदलने की क्या ज़रूरत है?जेनकींस में रूट के रूप में स्क्रिप्ट कैसे चलाएं?
मेरे sudoers फ़ाइल इस तरह है:
# User privilege specification
root ALL=(ALL) ALL
igx ALL=(ALL) ALL
%wheel ALL=(ALL) ALL
# Allow members of group sudo to execute any command
# (Note that later entries override this, so you might need to move
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d
# Members of the admin group may gain root privileges
%admin ALL=(ALL) NOPASSWD:ALL
root ALL=(ALL) ALL
jenkins ALL=NOPASSWD: /var/lib/jenkins/workspace/ing00112/trunk/source/
jenkins ALL=(ALL) NOPASSWD:ALL
#Defaults:jenkins !requiretty
के संभावित डुप्लिकेट [सुपर उपयोगकर्ता के रूप में जेनकींस को चलाने के लिए कैसे?] (Http://stackoverflow.com/questions/ 11841140/कैसे-टू-रन-जेनकींस-ए-सुपर-यूजर) –