jenkins fails while restarting my sql “sudo: no tty present and no askpass program specified Sorry, try again.”

前端 未结 3 562
庸人自扰
庸人自扰 2021-02-06 13:12

I just configured jenkins and in the pre-build steps i am trying to restart jenkins but i end up with the following error

Commencing build of Revision c5b9f8daac         


        
3条回答
  •  名媛妹妹
    2021-02-06 13:35

    By adding the following: Defaults:username !authenticate to your /etc/sudoers you should not get the error but this username will be accessible without asking for a password

提交回复
热议问题