-
Bug
-
Resolution: Fixed
-
Blocker
-
Coverity Plugin 1.6.0
Jenkins <any>
There is a code block in IndioToolHandler, FresnoToolHandler, and PreFresnoToolHandler which fetches the defects for the snapshot ID just committed. This code block is conditional on invocationAssistance != null, even though invocationAssistance is not used in this code.
The end result is that when the "Perform Coverity build, analysis and commit" checkbox is not selected, invocationAssistance will be null, and this code will not run. This means that the graphs are not populated and the link to the defects does not exist for the build.
I noticed this because our Coverity server was just upgraded, and I upgraded the coverity-plugin from 1.2.4 (where the conditional did not exist and the feature worked).
// Current conditional if(invocationAssistance != null && !publisher.isSkipFetchingDefects()) { // New conditional if(!publisher.isSkipFetchingDefects()) {