Groups
Groups
Sign in
Groups
Groups
Jenkins Users
Conversations
About
Send feedback
Help
Is it possible to "clean workspace as root"?
7 views
Skip to first unread message
alfred.perlstein
unread,
May 5, 2015, 12:09:32 AM
5/5/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages