[
https://issues.jenkins-ci.org/browse/JENKINS-13108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160633#comment-160633
]
Rob Petti commented on JENKINS-13108:
-------------------------------------
You will likely need to write your own script in order to simulate 'svn clean'.
There are plenty of resources for this online, such as the following *nix
snippet:
{code}
find . -type f | p4 -x- files 2>&1 | sed -n -e 's/ - no such file(s).//p' |
xargs -d '\n' rm
{code}
> Removing P4CONFIG file on cleaning workspace
> --------------------------------------------
>
> Key: JENKINS-13108
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13108
> Project: Jenkins
> Issue Type: Bug
> Components: perforce
> Affects Versions: current
> Reporter: Alexey Larsky
> Assignee: Rob Petti
>
> Cleaning workspace causing to remove local workspace config file.
> http://www.perforce.com/perforce/doc.current/manuals/cmdref/env.P4CONFIG.html
> http://www.jetbrains.com/idea/webhelp/using-multiple-perforce-depots-with-p4config.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira