Issue Type: Bug Bug
Assignee: Ken Dang
Components: coverity-plugin
Created: 11/Dec/14 5:14 PM
Description:

Observed the following issue while using coverity plugin:

  • Used the Coverity plugin for Build-Analysis-Commit operations..
  • Build and Analysis ran successfully.

[MY-WORKSPACE] $ "C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-build" --dir Report ant -f Code\MyProj\build.xml compile_debug
[MY-WORKSPACE] $ "C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-analyze" --dir Report --java

  • In commit command, the plugin didn't use the WORKSPACE folder as working directory instead switched to slave's root directory and the command failed.

$ "C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-commit-defects" --dir Report --host xy.xyz.xy.xyz --dataport 9090 --stream ABC-XYZ --user abc-xyz

[ERROR] Specified intermediate directory
c:/jenkinsci/Report
doesn't contain any usable data
[Coverity] cov-commit-defects returned 2, aborting...
Build step 'Coverity' changed build result to FAILURE

It would be nice to have it fixed as it is already such a nice and feature rich plugin.

Also plugin can support to accept environment variables/Jenkins parameters in its configuration fields which currently it does not.

Environment: Jenkins ver. 1.592
Name Maven ID License
Coverity plugin org.jenkins-ci.plugins:coverity:1.4.1 Eclipse Public License
saaj-impl com.sun.xml.messaging.saaj:saaj-impl:1.3.1
xws-security com.sun.xml.xws:xws-security:3.0
Project: Jenkins
Priority: Major Major
Reporter: Harsh Sangal
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to