• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • file-operations-plugin
    • None
    • Jenkins 2.392
      Latest File Operations plugin version

      Similar to the fix for JENKINS-70139 to have booleanRadio use non-unique IDs in core Jenkins, the File Operations radio construct has generated IDs, so when you have a repeatable describable (e.g. Text file operations step) then this ID will be duplicated for all instances.

      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

          [JENKINS-70989] Text File Operations radio uses non-unique ID

          Tom created issue -
          Tom made changes -
          Link New: This issue is related to JENKINS-70139 [ JENKINS-70139 ]
          Tom made changes -
          Link New: This issue is related to JENKINS-70739 [ JENKINS-70739 ]

          Jesse Glick added a comment -

          The fix I proposed for JENKINS-70988 may solve the issue with this plugin as well.

          Jesse Glick added a comment - The fix I proposed for JENKINS-70988 may solve the issue with this plugin as well.

          Mark Waite added a comment -

          I tested the file operations plugin with the fix from Jesse and confirmed that the fix resolves the issue.

          Mark Waite added a comment - I tested the file operations plugin with the fix from Jesse and confirmed that the fix resolves the issue.
          Mark Waite made changes -
          Remote Link New: This issue links to "Core PR 7823 with fix by Jesse Glick (Web Link)" [ 28579 ]
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          Jesse Glick added a comment -

          Can this be closed as a duplicate then?

          Jesse Glick added a comment - Can this be closed as a duplicate then?

          Mark Waite added a comment -

          Fixed by the change made for JENKINS-70988. Closing as a duplicate. No change needed in the plugin

          Mark Waite added a comment - Fixed by the change made for JENKINS-70988 . Closing as a duplicate. No change needed in the plugin
          Mark Waite made changes -
          Link New: This issue duplicates JENKINS-70988 [ JENKINS-70988 ]
          Mark Waite made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: In Review [ 10005 ] New: Closed [ 6 ]

            pskumar448 Suresh Kumar
            tbeukhof Tom
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: