I can't speak to if there is an existing plugin that does it, but I don't see why it can't be implemented as plugin. All the groovy calls are calling things which are easier to work with inside a plugin.
On Wed., Jul. 31, 2019, 10:38 p.m. 夏润泽, <[email protected]> wrote: > Hi all: > When I was looking for a solution to this problem, many people would > recommend adding a groovy script to the pipeline. > > https://stackoverflow.com/questions/40760716/jenkins-abort-running-build-if-new-one-is-started > I have some questions about this, why not have a jenkins step plugin to > do this. > I am asking this question because I am thinking about whether I can > implement such a plugin to avoid groovy scripts. > Is there any problem? Any reply will be very helpful > Best RunZeXia > > -- > 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/dee6e148-1437-45c1-b8f5-781407b834ef%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/dee6e148-1437-45c1-b8f5-781407b834ef%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAG%3D_DutfmjLTLz-5BjHcEXmH5SPEzQDeosU3inrprWxgySwsAQ%40mail.gmail.com.
