please suggest

regards



On Fri, Nov 15, 2013 at 6:17 AM, Irfan Sayed <[email protected]> wrote:

> thanks.
>
> i configured job for sloccount plugin.
> my environment is windows and i configured Cygwin to run the sloccount
> so there are two commands which i run to debug ...
>
> 1: 
> /cygdrive/c/Users/bvcontrolbuild/Downloads/sloccount-2.26/new/sloccount-2.26/sloccount
> --duplicates --wide --details
> /cygdrive/c/workspace/ua_final/DataIntegration/di-core/src/main/ >
> /cygdrive/c/workspace/ua_final/DataIntegration/sloccount.sc
>
> the output of above command is stored in file *sloccount.sc
> <http://sloccount.sc/>* file . PFA
>
> 2: 
> /cygdrive/c/Users/bvcontrolbuild/Downloads/sloccount-2.26/new/sloccount-2.26/sloccount
> /cygdrive/c/workspace/ua_final/DataIntegration/di-core/src/main/ >
> /cygdrive/c/workspace/ua_final/DataIntegration/sloccount.sc
>
> the output of above command is stored in file *sloccount1.sc
> <http://sloccount1.sc/>*. PFA
>
> so first thing is , i don't know which command i should go ahead with ?
> second, in Jenkins job configuration , if i put file *sloccount1.sc
> <http://sloccount1.sc/>* file , then it does not throw any exception ,
> but, at the end , there is no any report also and no any trend graph also
>
> further, if i put *sloccount.sc <http://sloccount.sc/>* file , then
> jenkins throws follwoing exception at the end of build
>
>
> Started by user Irfan Sayed <http://10.211.161.71/user/irfan_sayed>
>
> [EnvInject] - Loading node environment variables.
> Building remotely on 10.211.162.150 
> <http://10.211.161.71/computer/10.211.162.150> in workspace 
> C:\workspace\ua_final
> [ua_final] $ cmd /c call 
> C:\Users\BVCONT~1\AppData\Local\Temp\2\hudson4372201469243593858.bat
>
> C:\workspace\ua_final>C:\cygwin64\Cygwin-jenkins.bat
> bash: cannot set terminal process group (-1): Inappropriate ioctl for device
> bash: no job control in this shell
> ERROR: Publisher hudson.plugins.sloccount.SloccountPublisher aborted due to 
> exceptionjava.lang.StringIndexOutOfBoundsException 
> <http://stacktrace.jenkins-ci.org/search?query=java.lang.StringIndexOutOfBoundsException>:
>  String index out of range: -1
>       at java.lang.String.substring(String.java:1911) 
> <http://stacktrace.jenkins-ci.org/search/?query=java.lang.String.substring&entity=method>
>       at 
> hudson.plugins.sloccount.model.SloccountReport.extractFolder(SloccountReport.java:71)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.sloccount.model.SloccountReport.extractFolder&entity=method>
>       at 
> hudson.plugins.sloccount.model.SloccountReport.add(SloccountReport.java:49) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.sloccount.model.SloccountReport.add&entity=method>
>       at 
> hudson.plugins.sloccount.model.SloccountParser.parseLine(SloccountParser.java:99)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.sloccount.model.SloccountParser.parseLine&entity=method>
>       at 
> hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:66) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.sloccount.model.SloccountParser.parse&entity=method>
>       at 
> hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:57) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.sloccount.model.SloccountParser.parse&entity=method>
>       at 
> hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:47)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.sloccount.model.SloccountParser.invoke&entity=method>
>       at 
> hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:17)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.sloccount.model.SloccountParser.invoke&entity=method>
>       at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2420) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath$FileCallableWrapper.call&entity=method>
>       at hudson.remoting.UserRequest.perform(UserRequest.java:118) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method>
>       at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method>
>       at hudson.remoting.Request$2.run(Request.java:326) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request$2.run&entity=method>
>       at 
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.InterceptingExecutorService$1.call&entity=method>
>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask$Sync.innerRun&entity=method>
>       at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.run&entity=method>
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor.runWorker&entity=method>
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.run&entity=method>
>       at hudson.remoting.Engine$1$1.run(Engine.java:61) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Engine$1$1.run&entity=method>
>       at java.lang.Thread.run(Thread.java:724) 
> <http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.run&entity=method>
> Notifying upstream projects of job completion
> Finished: FAILURE
>
> please suggest me where i m going wrong
>
> regards
>
>
> On Fri, Nov 15, 2013 at 12:45 AM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) <
> [email protected]> wrote:
>
>> Please don't crosspost messages to multiple mailing lists.
>>
>> Yes, some of us use the sloccount plugin. It's pretty much impossible to
>> help you in any useful way if you don't tell us what problems you are
>> experiencing, though.
>>
>>
>> ----- Original Message -----
>> From: [email protected]
>> To: [email protected], [email protected]
>> At: Nov 14 2013 14:05:28
>>
>> hi,
>>
>> have anybody used the sloccount plugin.??
>> i have couple of doubts with which i am struggling
>>
>> please let me know
>>
>> regards
>> irfan
>>
>> --
>> 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 [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>  --
>> 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 [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to