Cannot use sudo in jenkins' `execute shell` build step

241 Views Asked by At

I'm trying to use electron-installer-debian in Jenkins (version 2.346.2) dashboard. But it has a fakeroot dependency. Trying to install fakeroot using apt-get install fakeroot and error says 'permission denied'. If I use sudo apt-get install fakeroot, error says command: sudo : not found. Any ideas? Thanks

0

There are 0 best solutions below