Yup, you need to add P4 to the cov-build blacklist field. The Coverity pluging 
wraps everything and it does not like null responses.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Shobha Dashottar
Sent: Thursday, November 06, 2014 11:38 PM
To: jenkinsci-users@googlegroups.com
Subject: Using Coverity plugin

Hi,
   I have the Coverity setup created and installed the client on a linux slave 
machine. Using Coverity UI I can created the xml and run coverity analysis just 
fine.
     In my Jenkins job, I have configured Coverity and that build just fails 
with the below error:
The build job was running fine prior to Coverity .
In the job config, I have given the details of the Integrity Manager and 
checked the option of "Perform Coverity build, analysis and commit" and nothing 
else.

What am I missing?

Thanks
Shobha

Saving modified client Dev_RHEL5_x86--274771558

06:52:21 [Dev_RHEL5_x86] $ /home/builder/cov-analysis-linux-7.5.0/bin/cov-build 
--dir /home/builder/jenkins/coverity/temp-5203856065298512221.tmp /usr/bin/p4 
-P 827C6449450B2A55C2F2B48 -s client -i

06:52:23 Last build changeset: 18067994

06:52:23 [Dev_RHEL5_x86] $ /home/builder/cov-analysis-linux-7.5.0/bin/cov-build 
--dir /home/builder/jenkins/coverity/temp-5203856065298512221.tmp /usr/bin/p4 
-P 827C6449450B2A55C2F2B48 changes -s submitted -m 1 
//Dev_RHEL5_x86--274771558/...

06:52:25 FATAL: null

06:52:25 
java.util.NoSuchElementException<http://stacktrace.jenkins-ci.org/search?query=java.util.NoSuchElementException>

06:52:25       at 
java.util.StringTokenizer.nextToken(StringTokenizer.java:349)<http://stacktrace.jenkins-ci.org/search/?query=java.util.StringTokenizer.nextToken&entity=method>

06:52:25       at 
com.tek42.perforce.parse.AbstractPerforceTemplate.parseList(AbstractPerforceTemplate.java:112)<http://stacktrace.jenkins-ci.org/search/?query=com.tek42.perforce.parse.AbstractPerforceTemplate.parseList&entity=method>

06:52:25       at 
com.tek42.perforce.parse.Changes.getChangeNumbers(Changes.java:186)<http://stacktrace.jenkins-ci.org/search/?query=com.tek42.perforce.parse.Changes.getChangeNumbers&entity=method>

06:52:25       at 
hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:996)<http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.perforce.PerforceSCM.checkout&entity=method>

...
...
--
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to