I don't think you need node to run the plugin, but you might need javascript modules to do frontend work.
Blueocean, and i think a few others, are using frontend-maven-plugin to install node and trigger the js/css building (mostly using babel) It predates me, so I don't know how easy/hard it is to use - https://github.com/jenkinsci/blueocean-plugin/blob/70083b199cf41486dd0559520f0764205ea67ac3/pom.xml#L1020-L1116 On Thu, Mar 21, 2019 at 12:43 PM Ullrich Hafner <[email protected]> wrote: > That looks exactly like what I need! > > The only disadvantage is that it requires Node. I tried to include Node > quite some time into the maven build chain for my "old school" plugin but > had no success (after several hours of work). > Is there another „old school“ Jenkins Plugin that already uses > successfully Node modules? > > Am 20.03.2019 um 22:47 schrieb Gavin Mogan <[email protected]>: > > For browser side, you can use > https://github.com/jenkinsci/sse-gateway-plugin which can send events to > the front end > > For back end, I know there are listeners, but I havn't looked into them > too much yet. > > On Wed, Mar 20, 2019 at 2:38 PM Ullrich Hafner <[email protected]> > wrote: > >> Do we have a public API to receive server side events in the client >> (browser) when a build has been finished? The build history portlet on the >> job page seems to update automatically of the status of a build changes. >> >> I also want to auto-update my JS charts on the job page if there are new >> builds available. Is this possible somehow already? >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/7BB7B1B3-12B4-4C99-8951-1C4A9B71684F%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 Developers" 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-dev/CAAgr96JgwXf%2BRcZkcoSyEAThZyG%3DpL%2BEwq%2ByBv%3D9c%3D22RCLv%2Bg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CAAgr96JgwXf%2BRcZkcoSyEAThZyG%3DpL%2BEwq%2ByBv%3D9c%3D22RCLv%2Bg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/81EB50E8-9E81-4B5E-B05B-2CE1C8EB4667%40gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/81EB50E8-9E81-4B5E-B05B-2CE1C8EB4667%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAAgr96JtKSQZdmyDR9a%2Bh6yEkGAcR2SvzQ0Oq_Eh%2B3DQfjX%3D6A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
