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

Code Insight Jenkins plugin question

Hello,

Sorry if this has been asked before but I have a general query with regards to the Jenkins plugin for Code Insight.

To save some time for releases, as part of our CI/CD process I have had a query regarding adding new versions of components from inside Jenkins and then reflecting this change from within Code Insight itself.

Can this be done as part of the "Post-Build Actions - Report Options"? Or do we have to manually update these versions through the Code Insight application?

Thanks,

Labels (1)
0 Kudos
(1) Reply
tphamda
Level 6 Flexeran
Level 6 Flexeran

Hi @NSEU_DEVOPS,

When you say you are adding new versions of components from inside Jenkins, are you performing another scan using the Jenkins plugin? If so, the latest scan results should be sent to Code Insight.

If this was not the case, are you trying to perform manual changes to the components after the scan? If so, you won't be able to do this with the Jenkins plugin, but you could consider using the REST API to perform an update to the inventory items:

https://codeinsightapi-2024r3.redoc.ly/tag/Inventory-API#operation/updateInventory 

0 Kudos