-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
Jenkins v 2.392
Latest Gradle plugin version
Similar to the fix for JENKINS-70139 to have booleanRadio use non-unique IDs in core Jenkins, the radioBlock construct has generated IDs, so when you have a repeatable describable (e.g. Gradle build step) then this ID will be duplicated for all instances.
Gradle plugin example with the Build steps as repeatable sections where you choose the Gradle executable. Only one radio button can be selected in the whole group.
- duplicates
-
JENKINS-70988 Credentials Binding step repeatable property uses non-unique ID
-
- Closed
-
- is related to
-
JENKINS-70139 booleanRadio uses non-unique ID (regression in 2.335)
-
- Closed
-
-
JENKINS-70988 Credentials Binding step repeatable property uses non-unique ID
-
- Closed
-
-
JENKINS-70989 Text File Operations radio uses non-unique ID
-
- Closed
-
- links to
[JENKINS-70739] Gradle step radioBlock uses non-unique ID
Link |
New:
This issue is caused by |
Attachment | New: credentialBinding.png [ 60076 ] |
Attachment | New: gradleBuild.png [ 60077 ] |
Description |
Original:
After the fix for Credentials Binding plugin example - you can see in the repeating Username and password (separated) sections only one radio button can be selected / active. This is more than just visual, the values are not enabled. [https://github.com/jenkinsci/credentials-binding-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/credentialsbinding/impl/BindingStep/config.jelly#L34] !image-2023-02-28-15-57-30-293.png! Gradle plugin example with the Build steps as repeatable sections where you choose the Gradle executable. Only one radio button can be selected in the whole group. [https://github.com/jenkinsci/gradle-plugin/blob/master/src/main/resources/hudson/plugins/gradle/Gradle/config.jelly#L5] !image-2023-02-28-15-59-57-880.png! File operations example In any freestyle job, just add create/edit text file section (plugin to be installed) - plugin url - [https://plugins.jenkins.io/text-file-operations/] add min two section, and try to select the overwrite file option in both the section [https://github.com/jenkinsci/text-file-operations-plugin/blob/master/src/main/resources/com/etas/jenkins/plugins/CreateTextFile/CreateFileBuilder/config.jelly#L14] |
New:
After the fix for Credentials Binding plugin example - you can see in the repeating Username and password (separated) sections only one radio button can be selected / active. This is more than just visual, the values are not enabled. [https://github.com/jenkinsci/credentials-binding-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/credentialsbinding/impl/BindingStep/config.jelly#L34] !credentialBinding.png! Gradle plugin example with the Build steps as repeatable sections where you choose the Gradle executable. Only one radio button can be selected in the whole group. [https://github.com/jenkinsci/gradle-plugin/blob/master/src/main/resources/hudson/plugins/gradle/Gradle/config.jelly#L5] !gradleBuild.png! File operations example In any freestyle job, just add create/edit text file section (plugin to be installed) - plugin url - [https://plugins.jenkins.io/text-file-operations/] add min two section, and try to select the overwrite file option in both the section [https://github.com/jenkinsci/text-file-operations-plugin/blob/master/src/main/resources/com/etas/jenkins/plugins/CreateTextFile/CreateFileBuilder/config.jelly#L14] |
Attachment | New: textFileOperations.mov [ 60078 ] |
Description |
Original:
After the fix for Credentials Binding plugin example - you can see in the repeating Username and password (separated) sections only one radio button can be selected / active. This is more than just visual, the values are not enabled. [https://github.com/jenkinsci/credentials-binding-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/credentialsbinding/impl/BindingStep/config.jelly#L34] !credentialBinding.png! Gradle plugin example with the Build steps as repeatable sections where you choose the Gradle executable. Only one radio button can be selected in the whole group. [https://github.com/jenkinsci/gradle-plugin/blob/master/src/main/resources/hudson/plugins/gradle/Gradle/config.jelly#L5] !gradleBuild.png! File operations example In any freestyle job, just add create/edit text file section (plugin to be installed) - plugin url - [https://plugins.jenkins.io/text-file-operations/] add min two section, and try to select the overwrite file option in both the section [https://github.com/jenkinsci/text-file-operations-plugin/blob/master/src/main/resources/com/etas/jenkins/plugins/CreateTextFile/CreateFileBuilder/config.jelly#L14] |
New:
After the fix for Credentials Binding plugin example - you can see in the repeating Username and password (separated) sections only one radio button can be selected / active. This is more than just visual, the values are not enabled. [https://github.com/jenkinsci/credentials-binding-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/credentialsbinding/impl/BindingStep/config.jelly#L34] !credentialBinding.png! Gradle plugin example with the Build steps as repeatable sections where you choose the Gradle executable. Only one radio button can be selected in the whole group. [https://github.com/jenkinsci/gradle-plugin/blob/master/src/main/resources/hudson/plugins/gradle/Gradle/config.jelly#L5] !gradleBuild.png! File operations example In any freestyle job, just add create/edit text file section (plugin to be installed) - plugin url - [https://plugins.jenkins.io/text-file-operations/] add min two section, and try to select the overwrite file option in both the section [https://github.com/jenkinsci/text-file-operations-plugin/blob/master/src/main/resources/com/etas/jenkins/plugins/CreateTextFile/CreateFileBuilder/config.jelly#L14] [^textFileOperations.mov] |
Remote Link | New: This issue links to "is caused by (Web Link)" [ 28530 ] |
Assignee | Original: Stefan Wolf [ wolfs ] |
Component/s | New: core [ 15593 ] | |
Component/s | Original: credentials-binding-plugin [ 18129 ] | |
Component/s | Original: gradle-plugin [ 15547 ] | |
Component/s | Original: text-file-operations-plugin [ 21037 ] |
Priority | Original: Critical [ 2 ] | New: Minor [ 4 ] |