Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25885

Coverity plugin runs cov-build regardless if it was requested or not

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • coverity-plugin
    • None
    • jenkins - 1.581
      coverity plugin - 1.4.1

      Post-build action Coverity has an option called "Perform Coverity build, analysis and commit". The documentation says that when enabling it, the plugin will monitor the build with cov-build and trigger analyse and commit automatically. If not enabled, the build script has to do it itself.

      Unfortunately, regardless if the option is enabled or disabled, the build script is invoked through cov-build. This conflicts with the documentation.

      The undesired effect is that the coverity config needs to be provided externally to the build as it needs to be available when cov-build is starting, so before the build script is triggered. This is undesirable as it prevents the job definition from being self contained. Also, as - in my case - it is the build that decides on what compiler and in what versions to use, so I would prefer to set up the coverity config on every build from inside the script.

            kdang Ken Dang
            mejdys Michal Ejdys
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: