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

Exclusion-Plugin Control Panel doesn't update; doesn't report parameter values

      Three problems with the Exclusion-Plugin control panel (see attached image):
      1) It reports parameter variable instead of the value that the parameter variable points to.
      2) When I replaced the variable with a pure text parameter, the control panel did not update to reflect my changes - it still shows the old variable.
      3) I couldn't enter or find anything in the "Resource name" section of the control panel and I could not release a resource

      (In the attached example, I set the job build parameter RT_IOBLOCK to 'A' for testing, and entered '$RT_IOBLOCK' in the Build Environment "Add resource to manage exclusion" section. The control panel should have shown the resource to be A, but instead showed '$RT_IOBLOCK'. I then changed the "Add resource to manage exclusion" to 'A' and ran the test. The control block should again show 'A', but has not changed.)

      BTW, this plugin is nonetheless great. Thanks.

          [JENKINS-23010] Exclusion-Plugin Control Panel doesn't update; doesn't report parameter values

          Code changed in jenkins
          User: Oleksandr Kulychok
          Path:
          src/main/java/org/jvnet/hudson/plugins/exclusion/AdministrationPanel.java
          src/main/resources/org/jvnet/hudson/plugins/exclusion/AdministrationPanel/index.jelly
          src/main/resources/org/jvnet/hudson/plugins/exclusion/AdministrationPanel/index.properties
          src/main/webapp/icons/Thumbs.db
          http://jenkins-ci.org/commit/exclusion-plugin/ed36b786e03b9c53faf87440a24bbd6e33e92053
          Log:
          [FIXED JENKINS-30877], [FIXED JENKINS-23010] : Administration panel: 1) Rename "Allocated resources" table to "Declared resources"; 2) Add 'Allocated resources' table with actual resource names, links to builds (runs) and 'Release' links

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleksandr Kulychok Path: src/main/java/org/jvnet/hudson/plugins/exclusion/AdministrationPanel.java src/main/resources/org/jvnet/hudson/plugins/exclusion/AdministrationPanel/index.jelly src/main/resources/org/jvnet/hudson/plugins/exclusion/AdministrationPanel/index.properties src/main/webapp/icons/Thumbs.db http://jenkins-ci.org/commit/exclusion-plugin/ed36b786e03b9c53faf87440a24bbd6e33e92053 Log: [FIXED JENKINS-30877] , [FIXED JENKINS-23010] : Administration panel: 1) Rename "Allocated resources" table to "Declared resources"; 2) Add 'Allocated resources' table with actual resource names, links to builds (runs) and 'Release' links

          Anthony Roux added a comment -

          Anthony Roux added a comment - Fixed with the contribution of https://github.com/kool79 https://github.com/jenkinsci/exclusion-plugin/commit/ed36b786e03b9c53faf87440a24bbd6e33e92053

            anthonyroux Anthony Roux
            generatz Generic Ratslaugh
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: