Exporting results from one plugin into another plugin is definitely possible. 
You typically have two steps:
1) Export the data from a producer plugin
a) using Tokens
b) using API methods of the plugin
2) Import the data (or reformat and aggregate it) into a consumer plugin

For step 1 I can say this works for the warnings plugin, it can export the 
results of CppCheck either into tokens or into objects (that you can process 
using your pipeline). 

I have no idea if the slack plugin is capable of doing step 2 though, but I 
would assume that it works in that way...

> Am 09.04.2021 um 08:39 schrieb jesus fernandez <[email protected]>:
> 
> I just started using cppcheck, and I was wondering if there is any way to 
> access to the report values (for instance number of total errors) and send it 
> to slack. I have been searching in the documentation and here in SO but I 
> have found nothing, as I just have been using Jenkins for a couple of months 
> ( I am a junior dev) I was wondering if somebody know if this is possible and 
> could drive me in the right direction.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/d3aee90e-5331-480f-84d7-4df7c3ebcf6fn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/d3aee90e-5331-480f-84d7-4df7c3ebcf6fn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/C816645C-24B7-4FEC-830F-7312BA7E6153%40gmail.com.

Reply via email to