Re: webhook plugin development for multibranchPipelineJob

2022-02-09 Thread John Patrick
New day and fresh eyes and have sorted it, now PR raised https://github.com/jenkinsci/gogs-webhook-plugin/pull/75. Cheers, John On Wed, 9 Feb 2022 at 07:21, 'Daniel Beck' via Jenkins Developers < jenkinsci-dev@googlegroups.com> wrote: > > > On Wed, Feb 9, 2022 at 1:07 AM John Patrick > wrote:

Re: webhook plugin development for multibranchPipelineJob

2022-02-08 Thread 'Daniel Beck' via Jenkins Developers
On Wed, Feb 9, 2022 at 1:07 AM John Patrick wrote: > So I've; > 1) updated parent > 2) updated jenkins.version to 2.289.1 > 3) updated jenkins-test-harness.version to 2.72 > 4) updated junit to 4.13.2 > 5) added/edited some provided dependencies > 6) fixed hamcrest issue > 7) fixed a casting

Re: webhook plugin development for multibranchPipelineJob

2022-02-08 Thread Mark Waite
Willing to share a link to your repository? I'd guess you can break that cycle by removing one or more unnecessary dependencies from the pom.xml file, but that type of guessing is usually best supported by experiments with maven. On Tue, Feb 8, 2022 at 5:07 PM John Patrick wrote: > So I've; >

Re: webhook plugin development for multibranchPipelineJob

2022-02-08 Thread John Patrick
So I've; 1) updated parent 2) updated jenkins.version to 2.289.1 3) updated jenkins-test-harness.version to 2.72 4) updated junit to 4.13.2 5) added/edited some provided dependencies 6) fixed hamcrest issue 7) fixed a casting issue 8) now stuck on this one. Caused by:

Re: webhook plugin development for multibranchPipelineJob

2022-02-08 Thread John Patrick
Thanks Ullrich and Mark, Will digest those and might be back later in a week or two probably. Cheers, John On Tue, 8 Feb 2022 at 19:40, Mark Waite wrote: > The advice from Ullrich Hafner is very good. You'll make much better > progress if you modernize the plugin then let the more

Re: webhook plugin development for multibranchPipelineJob

2022-02-08 Thread Mark Waite
The advice from Ullrich Hafner is very good. You'll make much better progress if you modernize the plugin then let the more modernized settings help you manage the dependencies. Darin Pope created a five part video series on modernizing Jenkins plugins. The videos are available as: -

Re: webhook plugin development for multibranchPipelineJob

2022-02-08 Thread Ullrich Hafner
You should upgrade the plugin to a recent Jenkins Version like 2.303.1, then the BOM will provide a solution for all of these problems (https://github.com/jenkinsci/bom). > Am 08.02.2022 um 20:17 schrieb John Patrick : > > Hi, > > I'm looking adding support for `multibranchPipelineJob` to a

webhook plugin development for multibranchPipelineJob

2022-02-08 Thread John Patrick
Hi, I'm looking adding support for `multibranchPipelineJob` to a webhook plugin for jenkins. Using `mvn hpi:run` it boots a jenkins v1.625.3 instance and I have been able to debug the current plugin to see it working. But that jenkins instance lacks support for 'multibranchPipelineJob'. So I'm