[
https://issues.jenkins-ci.org/browse/JENKINS-4867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sogabe resolved JENKINS-4867.
-----------------------------
Assignee: sogabe (was: npiguet)
Resolution: Not A Defect
Updated wiki.
> Two simultaneous sloccount executions fails
> -------------------------------------------
>
> Key: JENKINS-4867
> URL: https://issues.jenkins-ci.org/browse/JENKINS-4867
> Project: Jenkins
> Issue Type: Bug
> Components: sloccount
> Affects Versions: current
> Environment: Platform: All, OS: All
> Reporter: worsaae
> Assignee: sogabe
>
> If you uses sloccount for multiple jobs sometimes two jobs end at the same
> time
> and sloccount is executed simultaneously
> This will fail since sloccount (per default) uses one temp data folder in
> $HOME/.slocdata
> Either change sloccount to not use a temp data dir or change the setup
> explanation so novice users (like me) are explained to use the --datadir
> option
> in order to get a datadir per hudson job.
> This seems to work:
> [ -d slocdata ] || mkdir slocdata
> sloccount --datadir slocdata --details "your source path" > sloccount.sc
--
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