Issue Type: Bug Bug
Assignee: Ken Dang
Components: coverity-plugin
Created: 02/Feb/15 8:52 AM
Description:

I have upgraded to Coverity plugin 1.5.0. After the upgrade coverity builds started failing.

I have following extra options in the job config page,

Additional cov-analyze[-java] arguments: --all --ticker-mode none --enable-constraint-fpp --enable-callgraph-metrics --force --hfa <space_here>

Additional cov-commit-defects arguments: --description "Test SW Commit" --ticker-mode none

Build failed with following build error,

[Coverity] cmd so far is: [/opt/cov-analysis-linux64-7.5.0/bin/cov-analyze, --dir, /home/JENKINS_HOME/coverity/temp-5110247036894018110.tmp, --cpp, --all, --ticker-mode, none, , --enable-constraint-fpp, , --enable-callgraph-metrics, --force, --hfa]
[cov_infra_sw_Build] $ /opt/cov-analysis-linux64-7.5.0/bin/cov-analyze --dir /home/JENKINS_HOME/coverity/temp-5110247036894018110.tmp --cpp --all --ticker-mode none --enable-constraint-fpp --enable-callgraph-metrics --force --hfa
Coverity Static Analysis version 7.5.0 on Linux 3.17.7-200.fc20.x86_64 x86_64
Internal version numbers: b5b2c6e5a6 p-gilroy-push-19219.652

[COMMAND LINE ERROR] Extra token '' at the end of the command line. Please only specify one value for each option and ensure that all options are preceded with the '' or '-' characters.
Specify --help for assistance.
[Coverity] /opt/cov-analysis-linux64-7.5.0/bin/cov-analyze returned 2, aborting...

$ /opt/cov-analysis-linux64-7.5.0/bin/cov-commit-defects --dir /home/JENKINS_HOME/coverity/temp-8006006841231009923.tmp --host test.dom.com --port 6060 --stream test_sw --user test --description "Test SW Commit" --ticker-mode none

[COMMAND LINE ERROR] Extra token 'SW' at the end of the command line. Please only specify one value for each option and ensure that all options are preceded with the '' or '-' characters.
Specify --help for assistance.
[Coverity] cov-commit-defects returned 2, aborting...

When I ran the coverity commands manually, its working fine. Looks like some problem in parsing the command line arguments.

To solve the issue, I found the following work around, I have changed job config like,

Additional cov-analyze[-java] arguments: --all --ticker-mode none --enable-constraint-fpp --enable-callgraph-metrics --force --hfa

Additional cov-commit-defects arguments: --description "Test_SW_Commit" --ticker-mode none

Now build is working fine.

Environment: Jenkins 1.598, Manual installation, Linux Cent OS 6.x,

Sun JVM 1.7.x

Coverity Analysis linux64 7.5.0
Project: Jenkins
Labels: plugin coverity
Priority: Critical Critical
Reporter: Bakkiaraj Murugesan
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to