java.lang.NullPointerException 08:13:29 at jenkins.plugins.coverity.ScmOptionBlock.checkScmConfig(ScmOptionBlock.java:73) 08:13:29 at jenkins.plugins.coverity.CoverityLauncherDecorator.decorate(CoverityLauncherDecorator.java:104) 08:13:29 at hudson.Launcher.decorateFor(Launcher.java:695) 08:13:29 at hudson.model.Slave.createLauncher(Slave.java:374) 08:13:29 at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:564) 08:13:29 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:495) 08:13:29 at hudson.model.Run.execute(Run.java:1744) 08:13:29 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 08:13:29 at hudson.model.ResourceController.execute(ResourceController.java:98) 08:13:29 at hudson.model.Executor.run(Executor.java:374)
Jenkins version : 1.612
Coverity Plugin version : 1.5.0
Coverity version 7.5.0
SCM : Perforce
I checked the line 73 in ScmOptionBlock.java of Coverity Plugin. It says
if(!version.compareToAnalysis(new CoverityVersion(7, 5, 0)) && this.scmSystem.equals("perforce2009")){
Any idea what is going wrong? I mainly wanted to see the defect trend on the job's main page.
Thanks
Shobha
I have found that you need to add P4 to the “cov-build blacklist”. This tells Coverity to no wrap these calls.
--
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-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/e42dd99a-8792-427d-a141-0148eaab1d17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I don’t use that option, but it looks like maybe Perforce does not have a user named Builder?
I don’t know. I’m just guessing.
From: Shobha Dashottar [mailto:shobha.d...@gmail.com]
Sent: Tuesday, July 28, 2015 7:56 AM
To: Jenkins Users
Cc: Ginga, Dick
Subject: Re: Configure SCM in the Coverity Plugin
yes. Perforce does not have that user but it is just the system user "builder" doing the builds. Why is the Plugin getting this user anyways?
