I have jenkins working in local server on my mac and for a job, I need to run a script shell witch it need to read a json file. I tryied to put it in workflow-lib file. But when
If the jenkins user is a member in the sudoers list:
jenkins user
sudoers
sudo rm -rf /Users/****/.jenkins/workflow-libs/testCollections
But this can be dangerous.