On Sun, Nov 19, 2023 at 2:50 AM tzach....@gmail.com
<tzach.solo...@gmail.com> wrote:
> I'm developing a new plugin and I was able to write to log in FreeStyleJob  
> but it does not work in pipeline.

See 
https://www.jenkins.io/doc/developer/plugin-development/pipeline-integration/
for more information: Pipeline builds are instances of WorkflowRun and
therefore ParameterValue#createBuildWrapper(AbstractBuild) does not
apply to them. It is difficult to give a concrete suggestion without
seeing your code, but you may wish to refer to the tests in the
Pipeline plugins for examples.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAFwNDjonx6X1ZFDybdmFe6DM2M7P2dY3Lvmi6-0O91rEbKS2vQ%40mail.gmail.com.

Reply via email to