This is not yet possible. The findbugs step does not return anything currently. 
This will change in a future version of findbugs. 

See https://wiki.jenkins.io/display/JENKINS/Static+Analysis+in+Pipelines 
<https://wiki.jenkins.io/display/JENKINS/Static+Analysis+in+Pipelines>
 
If you have any requirements that are not yet considered please update the wiki 
page.

> Am 30.11.2017 um 09:12 schrieb sreeram yerrapragada <ysree...@gmail.com>:
> 
> Hello Jenkins Users,
> 
> Is it possible to capture the return value from pipeline step?
> 
> ex:
> def result = findbugs(pattern: '**/target/**/findbugsXml.xml')
> echo result
> 
> 
> Thanks
> Sreeram
> 
> -- 
> 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 jenkinsci-users+unsubscr...@googlegroups.com 
> <mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/e9e3a605-66ae-4cb4-a2aa-6574d604dcd0%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/e9e3a605-66ae-4cb4-a2aa-6574d604dcd0%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0874024C-B4FC-46C1-B7AD-9A7020AA4F2D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to