Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70989

Text File Operations radio uses non-unique ID

XMLWordPrintable

    • 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

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

              Created:
              Updated:
              Resolved: