cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to Run Jenkins job using Plugin in FlexNet Code Insight

Unable to Run Jenkins job using Plugin in FlexNet Code Insight

Summary

This article documents the 'Cannot import because update service has not been run' error observed when attempting to use the FlexNet Code Insight Jenkins plugin.

Synopsis

When running the Jenkins plugin for FlexNet Code Insight 7.X, the following error is displayed:

Recieved status code [500] for request :::http://daeosss9:8888/codeinsight/api/v1/importer/importInventory?projectName=test1
ERROR ***Error during scanning occurred
java.lang.RuntimeException: Error occurred wrong while sending results to codeinsight server: Cannot import because update service has not been run
at com.flexnet.codeinsight.plugins.agent.RestfulServer.sendResults(RestfulServer.java:201)
at com.flexnet.codeinsight.plugins.agent.ScanExecutor.scanCodebase(ScanExecutor.java:136)

Discussion

The error message states that an Electronic Update has not completed prior to attempting the Jenkins call. All Jenkins builds using the plugin will fail unless a full Electronic Update is completed before attempting a Jenkins build
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Oct 19, 2018 06:10 PM
Updated by: