Jenkins sudo: no tty present and no askpass program specified, mit NOPASSWD

Verbringe ich mehrere Tage die Einrichtung der Datei /etc/sudoers geben zu können Berechtigungen für root an den Benutzer jenkins. Ich habe Jenkins installiert auf meinem server, da ich mehrere Projekte mit symfony -, Ionen -, neo4j, etc... Das problem ist, dass ich nicht tun kann, bauen Sie in die Projekte mit Ionischen, bekomme ich diesen Fehler:sudo: no tty present and no askpass program specified. Dies ist der Inhalt meiner /etc/sudoers-Datei:

#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults    env_reset
Defaults    mail_badpass
Defaults    secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL:ALL) ALL
jenkins ALL=(ALL) NOPASSWD: ALL
# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL
InformationsquelleAutor Ander Acosta | 2016-06-02
Schreibe einen Kommentar