- Revenera Community
- :
- Code Insight
- :
- Code Insight Forum
- :
- Re: Code Insight Jenkins plugin question
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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