jenkins is not in the sudoers file. This incident will be reported. code example
Example: steam is not in the sudoers file.
1. Open sudoers file using command : sudo nano /etc/sudoers
2. Then add
"YourUsername ALL=(ALL) ALL"
below the root user