• 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

          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.

          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

          Tom added a comment -

          Yes, probably. At the time I couldn't tell if each plugin needed their own fix or not. Thanks!

          Tom added a comment - Yes, probably. At the time I couldn't tell if each plugin needed their own fix or not. Thanks!

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

              Created:
              Updated:
              Resolved: