19 de nov. de 2020

[SUDOERS]: sorry, you must have a tty to run sudo

+ sudo npm install

sudo: sorry, you must have a tty to run sudo

Build step 'Execute shell' marked build as failure

Set build name.

..

..

..

..

[WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] done


Finished: FAILURE


You said that you want one particular user to not require a tty. That's the default behavior. Nevertheless, you can explicitly set that like this:

# visudo


#### Jenkins
Defaults:jenkins !requiretty

Nenhum comentário:

Postar um comentário