-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Major
-
Component/s: sloccount-plugin
-
None
-
Environment:Platform: All, OS: All
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