Skip to content

Instantly share code, notes, and snippets.

@vcarmen
Created April 25, 2019 02:24
Show Gist options
  • Save vcarmen/5dcbf162c42b5c823bab30fb696a4cde to your computer and use it in GitHub Desktop.
Save vcarmen/5dcbf162c42b5c823bab30fb696a4cde to your computer and use it in GitHub Desktop.
you must allow jenkins to tun the script in /etc/sudoers.
jenkins ALL = NOPASSWD: /path/to/script
@vcarmen
Copy link
Author

vcarmen commented Apr 25, 2019

jenkins ALL = NOPASSWD: ALL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment