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: [email protected] [mailto:[email protected]] 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: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Shobha Dashottar Sent: Thursday, November 06, 2014 11:38 PM To: [email protected]<mailto:[email protected]> 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&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE&s=GvRPWwQK3d5QnmcXeV_R3bB407TseRShePHdryN4kSg&e=> 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&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE&s=ffwBNrvlN2FyKEADx4YS9KFVEziRCIYig-vTwq9YwrI&e=> 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&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE&s=X9LvsAPCg8BNfK2YD2vYhPK-kA2LGRm6ox2B3W1nb5E&e=> 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&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE&s=-tmsdWUjUHbpVb6uVqp61b1J73Vk8kFBoltjg1KJvm8&e=> 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&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE&s=mWpX6-3lR8g_n9uvFJhDdXACTXG1qg5lVjfehRnTy8E&e=> ... ... -- 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]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE&s=J55BlaDrHDcD0QZ_-K-LsrhhZMTY9YPQKRYvz0FlYgU&e=>. -- 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7d7eaa0e-38a6-4a49-aca3-0cf32e17ad6b%40googlegroups.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_7d7eaa0e-2D38a6-2D4a49-2Daca3-2D0cf32e17ad6b-2540googlegroups.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE&s=geuyVkCPhpMZmd6Y1yRgQ5bVbiMMQv5osw8UhI03dUo&e=>. For more options, visit https://groups.google.com/d/optout<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=KbTxYJX4DK-q8MGX3JgYjWn101GLty6jfIRUi1ehnPE&s=J55BlaDrHDcD0QZ_-K-LsrhhZMTY9YPQKRYvz0FlYgU&e=>. -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D870FFF6%40AMERMBX02.PERKINELMER.NET. For more options, visit https://groups.google.com/d/optout.
