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

      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.

        1. Screenshot 2022-06-09 131942.png
          20 kB
          Nghia Tran
        2. Screenshot 2022-06-09 132201.png
          23 kB
          Nghia Tran
        3. Screenshot 2022-06-09 132836.png
          27 kB
          Nghia Tran

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

              Created:
              Updated:
              Resolved: