This syntax is new to me:

step([$class: 'AnalysisPublisher‘])

I've been searching in the Jenkins documentation, but I couldn't find
an explanation for it. It looks like it enables me to call an arbitrary
Java method. Is this correct?

However, there are still questions:
1. How do I specify the method to be called?
2. How do I pass method parameters?
3. What are the preconditions / limitations of this syntax?

If there is documentation on this syntax and I've just missed it I
would appreciate a link.

Cheers~

On Mi, 2018-02-07 at 23:30 +0100, Ullrich Hafner wrote:
> 
> 
> > Am 07.02.2018 um 16:12 schrieb Ingmar Wirths <[email protected]>:
> > 
> > Hello,
> > 
> > I would like to use the Static Analysis Collector Plugin with my
> > Jenkins pipeline project.
> > 
> > Can I do that? If so, how?
> > 
> yes.
> 
> step([$class: 'AnalysisPublisher‘])
> 
> You can specify all options of https://github.com/jenkinsci/analysis-
> collector-
> plugin/blob/master/src/main/java/hudson/plugins/analysis/collector/An
> alysisPublisher.java
> 
> I have no idea why this step is not shown in the Snippet Generator…
> 
> > The only hint I found that the Static Analysis Collector Plugin
> > might
> > support pipelines is on the release notes for 1.49:
> > 
> > Added trend graph support for pipelines (JENKINS-31202, thanks to
> > Benjamin Fuchs for the help!)
> > 
> > That looks promising; however, I was unable to find documentation
> > on
> > the pipeline steps regarding the Static Analysis Collector Plugin.
> > 
> > So, how should I proceed?
> > 
> > Cheers~
> > 
> > -- 
> > 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/1518016365.9915.9.camel%40bry-it.com.
> > For more options, visit 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/ECF4A3AF-48FF-4B4A-9E52-
> BBB851C99A18%40gmail.com.
> For more options, visit 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1518446749.4081.8.camel%40bry-it.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to