Jenkins build failure: "...project cli: Error creating shaded jar: duplicate entry: META-INF/services/io.jenkins.cli.shaded.jakarta.websocket.ContainerProvider"

2022-04-15 Thread 'Cyrille Le Clerc' via Jenkins Developers
Dear Jenkins Dev community,

I fail to build Jenkins on my Mac amd64 12.3.1 with Maven 3.8.5 and JDK 
11.0.11.

The message is:
Failed to execute goal 
org.apache.maven.plugins:maven-shade-plugin:3.3.0:shade (default) on 
project cli: Error creating shaded jar: duplicate entry: 
META-INF/services/io.jenkins.cli.shaded.jakarta.websocket.ContainerProvider

The detailed build logs are here:
https://gist.github.com/cyrille-leclerc/1b1177f47984e90872a70763d4012d93

Is it a known build problem?
Thanks in advance,

Cyrille

-- 
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/6c473a86-2096-4b74-8c7c-16de18a5e008n%40googlegroups.com.


Re: Jenkins build failure: "...project cli: Error creating shaded jar: duplicate entry: META-INF/services/io.jenkins.cli.shaded.jakarta.websocket.ContainerProvider"

2022-04-15 Thread Mark Waite
We had known problems with Maven 3.8.5 on ci.jenkins.io and had to roll
back to 3.8.4.  Currently building with Java 11.0.14.1 and maven 3.8.4.

On Fri, Apr 15, 2022 at 10:08 AM 'Cyrille Le Clerc' via Jenkins Developers <
jenkinsci-dev@googlegroups.com> wrote:

> Dear Jenkins Dev community,
>
> I fail to build Jenkins on my Mac amd64 12.3.1 with Maven 3.8.5 and JDK
> 11.0.11.
>
> The message is:
> Failed to execute goal
> org.apache.maven.plugins:maven-shade-plugin:3.3.0:shade (default) on
> project cli: Error creating shaded jar: duplicate entry:
> META-INF/services/io.jenkins.cli.shaded.jakarta.websocket.ContainerProvider
>
> The detailed build logs are here:
> https://gist.github.com/cyrille-leclerc/1b1177f47984e90872a70763d4012d93
>
> Is it a known build problem?
> Thanks in advance,
>
> Cyrille
>
> --
> 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/6c473a86-2096-4b74-8c7c-16de18a5e008n%40googlegroups.com
> 
> .
>

-- 
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/CAO49JtFuXJdzEsfSvSLUp0ZN5p-Q8EY684HDd7jsn%3DZAUaGsyg%40mail.gmail.com.


Jenkins chapter on Bevy instead of Zoom/Meetup.com

2022-04-15 Thread Oleg Nenashev
Hi all,

Just a heads up, the CDF is gradually deprecating Zoom and meetup.com.
There is no confirmed ETA for full shutdown, but it is expected to happen
by the end of the year. The new Bevy-based community portal has been
deployed on  https://community.cd.foundation. Basically it includes both
Meetup.com replacement and a webinar platform that replaces Zoom and can
also integrate with YouTube live streaming.

Currently we can create new chapters on the CDF Community portal, and I
asked the CDF team to create a test Jenkins chapter. Now we have it on
https://community.cd.foundation/jenkins/ . If you join the platform, I can
make you event organizers upon request.

This year we will need to move all active Jenkins meetups, Governance
Meeting and SIGs to the Bevy platform. It will likely require creation of
multiple chapters there, and also outreach to meetup.com users in order to
ensure they join the new platform. I kindly ask Alyssa to coordinate this
effort as a Jenkins Events Officer. There is a #communitygroups channel on
the CDF Slack where all the conversation happens

Best regards,
Oleg Nenashev

-- 
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/CAPfivLDcMAg8RcneW1dCqcPjOTYSv13g0xz47Xrs4Y%2B_Yw7QiQ%40mail.gmail.com.


Re: Checking whether a step from a plugin is in actual use in an instance

2022-04-15 Thread 'Jesse Glick' via Jenkins Developers
On Tue, Apr 12, 2022 at 1:40 PM Tim Van Holder 
wrote:

> a relatively simple way to have a build step for freestyle that would
> essentially then have a dropdown for the 11 "real" steps which then shows
> their configuration when selected
>

This is straightforward. (`ui-samples-plugin` may be instructive.) Just an
abstract `Describable` supertype for the real things, and the `config.xml`
for the `Builder` can have a `f:dropdownDescriptorSelector` and maybe
nothing else. Each real thing has its own `config.jelly`. If you also add
`@Symbol`’s, then for Pipeline you would get syntax like

dotnet tool: makeAssembly(assemblySpecificOption: true), genericOption:
'whatever'

-- 
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/CANfRfr3eG-v5vNV4ScKYLPHRSCgCheLjGJsQ9H7_JVCbmTx6Xw%40mail.gmail.com.


Re: Capturing the remoteIpAddr on login failure?

2022-04-15 Thread 'Jesse Glick' via Jenkins Developers
On Wed, Apr 13, 2022 at 5:21 AM 'Cyrille Le Clerc' via Jenkins Developers <
jenkinsci-dev@googlegroups.com> wrote:

> did we consider making the Jenkins SecurityListener
>  an
> adapter of the Spring ApplicationEventPublisher
> 
>

I do not believe that was ever considered or proposed. The focus was on
moving from Acegi Security idioms to the nearest Spring Security equivalent
with the minimum effort required. Expanding the coupling between Jenkins
authentication and Spring Security specifics feels like the wrong
direction—the migration to Spring Security would have been much easier had
the vast surface area of the Acegi Security API not been directly exposed
to plugins.

-- 
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/CANfRfr0GWYXMNSu%2BMOwpm%3DG5pOakqhgXq-%3DsjLhN9H0ZMP%3DQJw%40mail.gmail.com.


Re: Jenkins build failure: "...project cli: Error creating shaded jar: duplicate entry: META-INF/services/io.jenkins.cli.shaded.jakarta.websocket.ContainerProvider"

2022-04-15 Thread 'Jesse Glick' via Jenkins Developers
On Fri, Apr 15, 2022 at 12:08 PM 'Cyrille Le Clerc' via Jenkins Developers <
jenkinsci-dev@googlegroups.com> wrote:

> Is it a known build problem?
>

Other than Maven 3.8.5 being broken as Mark mentioned, there are not in
general known build problems. Someone would fix the problem right away, if
it even somehow got merged to trunk despite CI checks.

I would suggest starting with `mvn clean`. If that still fails, try a build
of a fresh checkout inside a Docker container.

-- 
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/CANfRfr3DGfFqG2yykcusa4WtS%2BU0RQhj1kTaEv8ygu59TCPhJw%40mail.gmail.com.


Re: Jenkins chapter on Bevy instead of Zoom/Meetup.com

2022-04-15 Thread 'Alyssa Tong' via Jenkins Developers
Thank you Oleg for sharing this information. I'd be happy to help w/ the
coordination for Jenkins.
I'm now in the #communitygroups slack.

On Fri, Apr 15, 2022 at 11:57 AM Oleg Nenashev 
wrote:

> Hi all,
>
> Just a heads up, the CDF is gradually deprecating Zoom and meetup.com.
> There is no confirmed ETA for full shutdown, but it is expected to happen
> by the end of the year. The new Bevy-based community portal has been
> deployed on  https://community.cd.foundation. Basically it includes both
> Meetup.com replacement and a webinar platform that replaces Zoom and can
> also integrate with YouTube live streaming.
>
> Currently we can create new chapters on the CDF Community portal, and I
> asked the CDF team to create a test Jenkins chapter. Now we have it on
> https://community.cd.foundation/jenkins/ . If you join the platform, I
> can make you event organizers upon request.
>
> This year we will need to move all active Jenkins meetups, Governance
> Meeting and SIGs to the Bevy platform. It will likely require creation of
> multiple chapters there, and also outreach to meetup.com users in order
> to ensure they join the new platform. I kindly ask Alyssa to coordinate
> this effort as a Jenkins Events Officer. There is a #communitygroups
> channel on the CDF Slack where all the conversation happens
>
> Best regards,
> Oleg Nenashev
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Advocacy and Outreach SIG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkins-advocacy-and-outreach-sig+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkins-advocacy-and-outreach-sig/CAPfivLDcMAg8RcneW1dCqcPjOTYSv13g0xz47Xrs4Y%2B_Yw7QiQ%40mail.gmail.com
> 
> .
>

-- 
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/CAMBsfbsXCRg3AvW%3D7CXwGv6VBsU0Xosnrm2d9XHWDUM-mVbwNQ%40mail.gmail.com.