Documentation for the *step* step and indeed its usage with the *AnalysisPublisher* step as well is here <https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#code-step-code-general-build-step>. The former is a bridge in pipeline to plugin-provided steps that have not yet been enhanced with their own pipeline-friendly symbolic steps.
Brian On Thursday, February 15, 2018 at 5:55:16 AM UTC-8, Ingmar Wirths wrote: > > I'm still looking for an explanation for below syntax, but haven't > received an answer yet. Maybe I shouldn't have changed the subject; I > now reverted the subject back to the original one. > > On Mo, 2018-02-12 at 15:45 +0100, Ingmar Wirths wrote: > > 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] > <javascript:>> > > > > : > > > > > > > > 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/analysi > > > s- > > > 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] <javascript:>. > > > > To view this discussion on the web visit https://groups.google.co > > > > m/ > > > > 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] <javascript:>. > > > 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/36232e5b-6e20-45e9-a674-500e5cd46ed9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
