Text File Operations radio uses non-unique ID

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Critical
    • Component/s: file-operations-plugin
    • None
    • Environment:
      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

            Assignee:
            Suresh Kumar
            Reporter:
            Tom
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: