More than 5 years have passed since last update.
posted at 2016-02-22
sudo: no tty present and no askpass program specified
$ sudo visudo
# Defaults !visiblepw Defaults visiblepw root ALL=(ALL:ALL) ALL jenkins ALL=(ALL) NOPASSWD:ALL
$ service jenkins restart
Register as a new user and use Qiita more conveniently