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

Disable/enable parameters from Jenkins job by JavaScript doesn't work after Jenkins upgrade

    XMLWordPrintable

Details

    Description

      In our Jenkins job, I used a javascript to manage how to hide/show the parameters base on certain parameter.

      For example, from the dropdown list, if I choose A, parameters A1, A2 will be shown but parameter B1, B2 will be hidden.

      Or if I choose B, parameters B1, B2 will be shown and paramters A1, A2 will be hidden.

       

      Everything is fine until I upgrade to Jenkins version 2.303.1. Now it didn't work with this Jenkins version. All parameters is now shown no matter I choose A or B.

      Attachments

        Activity

          nvtran Nghia Tran added a comment -

          It's not a Jenkins issue. With new version of Jenkins, it has a change from table to div so nd o adapt this change from client.

           

          https://www.jenkins.io/doc/developer/views/table-to-div-migration/

          nvtran Nghia Tran added a comment - It's not a Jenkins issue. With new version of Jenkins, it has a change from table to div so nd o adapt this change from client.   https://www.jenkins.io/doc/developer/views/table-to-div-migration/

          People

            nvtran Nghia Tran
            nvtran Nghia Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: