Our build process needs to create some files as root. 

We are using sudo for this. 

The problem we are having is that the jenkins system doesn't appear allow 
you to make your own "clean workspace" hook. 

Because of this cleaning the workspace is run as "jenkins" and the "rm -rf" 
fails due to bad permissions. 

Is there a way to override the "rm -rf" for clean workspace to use "sudo rm 
-rf" please? 

thank you, 
-Alfred 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/34b2ee76-edd7-45b3-9f0a-d1e8eef98e28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to