-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
64 bit Windows
Java JRE 8u251 64 bit
Jenkins v2.235.1
Credentials Plugin 2.3.10
- Oracle Java SE Development Kit Installer Plugin 1.4
- Structs Plugin 1.20
- Trilead API Plugin 1.0.8
Jenkins running directly
NoReverseProxy
Jenkins installed using latest Windows installer and no plugins choosen at installation dialog
Firefox 77.0.1 (64 bit)
64 bit Windows Java JRE 8u251 64 bit Jenkins v2.235.1 Credentials Plugin 2.3.10 - Oracle Java SE Development Kit Installer Plugin 1.4 - Structs Plugin 1.20 - Trilead API Plugin 1.0.8 Jenkins running directly NoReverseProxy Jenkins installed using latest Windows installer and no plugins choosen at installation dialog Firefox 77.0.1 (64 bit)
Hello,
I have a Jenkins UI issue where Jenkins UI in job configuration breaks righthand out of its surrounding bounds. (Maybe this issue is related to Jenkins-35269, but the focus there is on textboxes, not on dropdowns of credentials plugin, so I am not sure if both has the same root cause.)
Here is the description of how I am able to reproduce in a pristine Jenkins installation:
I have a clean new Jenkinsinstallation without any plugins installed while install wizard. Once setup completed I've installed only CredentialsPlugin including its dependencies. The dependend plugins installed are mentioned in environment.
Next I've created a FreestyleProject-JenkinsJob named "TestJob". In the configuration section of this job I've enabled "This build is parameterized"-option and add "Credentials Parameter"-option without any value. The UI still looks normal.
Now go to the credentials section (by leaving the jobconfig with or without saving or by clicking directly on the add button in the "Credentials Parameter" section in job config).
Create a valid certificate credential and make sure the certificate values like CN, O, OU, L, ST, C have values of usual length. I've created a certificate .p12-file for testing purpose using "keystore explorer" (PFA .p12-file).
Once the certificate is selected and I go back to the job config having "This build is parameterized"-option activated and the "credentials parameter"-option added without any value, the UI breaks righthand out of the surrounding bounds.
I think the issue here is caused by the long name of the certificate, which is amongst other things composed of CN, O, OU, L ST, C-fields of the certificate. This causes the "default value"-dropdown of "credentials parameter"-option to be as wide as the certificates name as a minimum width, even before it is selected (PFA screenshot).
The issue is also reproducible using other plugins. For example using the subversion plugin in job configuration causing the same issue, but I think just because it also relies/depends on credentials plugin.
Best regards,
Milan Binder