RE: Using Coverity plugin

2016-06-07 Thread Ginga, Dick
Install the Coverity plugin, create a project in Coverity, add Coverity as a 
post-build step, fill in the fields.

With more specific questions I can provide more specific answers.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of dharavath hemanth
Sent: Monday, June 06, 2016 11:32 PM
To: Jenkins Users
Subject: Re: Using Coverity plugin

Can anyone please explain me setting up coverity in jenkins. Thats will really 
help me.thank you

On Monday, 10 November 2014 00:15:52 UTC-8, Shobha Dashottar wrote:
Awesome !! This worked. Thanks a lot

On Friday, November 7, 2014 6:34:26 PM UTC+5:30, rginga wrote:
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: jenkins...@googlegroups.com<mailto:jenkins...@googlegroups.com> 
[mailto:jenkins...@googlegroups.com] On Behalf Of Shobha Dashottar
Sent: Thursday, November 06, 2014 11:38 PM
To: jenkins...@googlegroups.com<mailto:jenkins...@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<https://urldefense.proofpoint.com/v2/url?u=http-3A__stacktrace.jenkins-2Dci.org_search-3Fquery-3Djava.util.NoSuchElementException=CwMFaQ=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE=GvRPWwQK3d5QnmcXeV_R3bB407TseRShePHdryN4kSg=>

06:52:25   at 
java.util.StringTokenizer.nextToken(StringTokenizer.java:349)<https://urldefense.proofpoint.com/v2/url?u=http-3A__stacktrace.jenkins-2Dci.org_search_-3Fquery-3Djava.util.StringTokenizer.nextToken-26entity-3Dmethod=CwMFaQ=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE=ffwBNrvlN2FyKEADx4YS9KFVEziRCIYig-vTwq9YwrI=>

06:52:25   at 
com.tek42.perforce.parse.AbstractPerforceTemplate.parseList(AbstractPerforceTemplate.java:112)<https://urldefense.proofpoint.com/v2/url?u=http-3A__stacktrace.jenkins-2Dci.org_search_-3Fquery-3Dcom.tek42.perforce.parse.AbstractPerforceTemplate.parseList-26entity-3Dmethod=CwMFaQ=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE=X9LvsAPCg8BNfK2YD2vYhPK-kA2LGRm6ox2B3W1nb5E=>

06:52:25   at 
com.tek42.perforce.parse.Changes.getChangeNumbers(Changes.java:186)<https://urldefense.proofpoint.com/v2/url?u=http-3A__stacktrace.jenkins-2Dci.org_search_-3Fquery-3Dcom.tek42.perforce.parse.Changes.getChangeNumbers-26entity-3Dmethod=CwMFaQ=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE=-tmsdWUjUHbpVb6uVqp61b1J73Vk8kFBoltjg1KJvm8=>

06:52:25   at 
hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:996)<https://urldefense.proofpoint.com/v2/url?u=http-3A__stacktrace.jenkins-2Dci.org_search_-3Fquery-3Dhudson.plugins.perforce.PerforceSCM.checkout-26entity-3Dmethod=CwMFaQ=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE=mWpX6-3lR8g_n9uvFJhDdXACTXG1qg5lVjfehRnTy8E=>

...
...
--
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<mailto:jenkinsci-use...@googlegroups.com>.
For more options, visit 
https://groups.google.com/d/optout<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout=CwMFaQ=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE=J55BlaDrHDcD0QZ_-K-LsrhhZMTY9YPQKRYvz0FlYgU=>.
--
You received this message because you are s

Re: Using Coverity plugin

2016-06-06 Thread dharavath hemanth
Can anyone please explain me setting up coverity in jenkins. Thats will 
really help me.thank you 

On Monday, 10 November 2014 00:15:52 UTC-8, Shobha Dashottar wrote:
>
> Awesome !! This worked. Thanks a lot
>
> On Friday, November 7, 2014 6:34:26 PM UTC+5:30, rginga wrote:
>>
>> 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:* jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] *On 
>> Behalf Of *Shobha Dashottar
>> *Sent:* Thursday, November 06, 2014 11:38 PM
>> *To:* jenkins...@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 
>> 
>>
>> *06:52:25*   at 
>> java.util.StringTokenizer.nextToken(StringTokenizer.java:349) 
>> 
>>
>> *06:52:25*   at 
>> com.tek42.perforce.parse.AbstractPerforceTemplate.parseList(AbstractPerforceTemplate.java:112)
>>  
>> 
>>
>> *06:52:25*   at 
>> com.tek42.perforce.parse.Changes.getChangeNumbers(Changes.java:186) 
>> 
>>
>> *06:52:25*   at 
>> hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:996) 
>> 
>>
>> ...
>> ...
>>
>> -- 
>> 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.
>> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7d7eaa0e-38a6-4a49-aca3-0cf32e17ad6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using Coverity plugin

2014-11-10 Thread Shobha Dashottar
Awesome !! This worked. Thanks a lot

On Friday, November 7, 2014 6:34:26 PM UTC+5:30, rginga wrote:

  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:* jenkins...@googlegroups.com javascript: [mailto:
 jenkins...@googlegroups.com javascript:] *On Behalf Of *Shobha Dashottar
 *Sent:* Thursday, November 06, 2014 11:38 PM
 *To:* jenkins...@googlegroups.com javascript:
 *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.nextTokenentity=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.parseListentity=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.getChangeNumbersentity=method

 *06:52:25*   at 
 hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:996) 
 http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.perforce.PerforceSCM.checkoutentity=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-use...@googlegroups.com javascript:.
 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.


RE: Using Coverity plugin

2014-11-07 Thread Ginga, Dick
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.NoSuchElementExceptionhttp://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.nextTokenentity=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.parseListentity=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.getChangeNumbersentity=method

06:52:25   at 
hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:996)http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.perforce.PerforceSCM.checkoutentity=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.commailto: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.