Unable to Run Jenkins job using Plugin in FlexNet Code Insight
SummaryThis article documents the 'Cannot import because update service has not been run' error observed when attempting to use the FlexNet Code Insight Jenkins plugin.
SynopsisWhen running the Jenkins plugin for FlexNet Code Insight 7.X, the following error is displayed:
Recieved status code  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
DiscussionThe 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