Hello,
I have recently adopted the EC2 Fleet plugin and have discovered a bug in the plugin which I would like to see if anyone else has encountered before and might have a solution.
The plugin provides the ability to configure 2 different Cloud types, and part of the configuration for the cloud includes Launcher configuration, which may include a credential field when configuring to use an SSH launcher. The issue is that when creating a new Cloud, the Add button to add a new credential does not work and I can see in the browser console an error from a web request to https://{jenkins-url}/manage/cloud/[object%20PointerEvent]. If you edit an existing Cloud, then the button works as expected and you can create a credential.
The field for the launcher configuration on the form is defined at
https://github.com/jenkinsci/ec2-fleet-plugin/blob/master/src/main/resources/com/amazon/jenkins/ec2fleet/EC2FleetCloud/config.jelly#L52-L54I've seen that other plugins that add Clouds like those provided by the EC2 plugin don't expose the ability to control the launcher configuration and just have a field specific for the SSH credentials and so don't have a dynamic form that can change based on launcher type, but I'd like to avoid refactoring to that pattern as a breaking change if there was another solution available.
Thank you,
Brady Shober