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

dropdownDescriptorSelector is loosing the context of `it`

      With the Credentials plugin 1.8 or 1.8.1 the dropdownDescriptorSelector on http://JENKINS_ROOT/credential-store/domain/_/newCredentials is not populating the credential Scope as the `it` context is being lost some how from the render on demand.

          [JENKINS-19565] dropdownDescriptorSelector is loosing the context of `it`

          Workaround implemented in 1.9.2

          Stephen Connolly added a comment - Workaround implemented in 1.9.2

          ikedam added a comment -

          ikedam added a comment - Sent a pull request: https://github.com/jenkinsci/jenkins/pull/1184

          Code changed in jenkins
          User: ikedam
          Path:
          core/src/main/resources/lib/form/dropdownDescriptorSelector.jelly
          http://jenkins-ci.org/commit/jenkins/86319de87b8469c06cf56ed933cfe85bade4eee4
          Log:
          [FIXED JENKINS-19565] Pass ${it} and ${instance} to contents of dropdownDescriptorSelector. And developers now can specify attr.capture to pass any variables.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: core/src/main/resources/lib/form/dropdownDescriptorSelector.jelly http://jenkins-ci.org/commit/jenkins/86319de87b8469c06cf56ed933cfe85bade4eee4 Log: [FIXED JENKINS-19565] Pass ${it} and ${instance} to contents of dropdownDescriptorSelector. And developers now can specify attr.capture to pass any variables.

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          core/src/main/resources/lib/form/dropdownDescriptorSelector.jelly
          http://jenkins-ci.org/commit/jenkins/a2a4f1a7b96939c1528ce26daf9bd6eae61e6fcf
          Log:
          Merge pull request #1184 from ikedam/feature/JENKINS-19565_ItWithDropdownDescriptorSelector

          JENKINS-19565 Pass ${it} to contents of dropdownDescriptorSelector

          Compare: https://github.com/jenkinsci/jenkins/compare/f71725202159...a2a4f1a7b969

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/resources/lib/form/dropdownDescriptorSelector.jelly http://jenkins-ci.org/commit/jenkins/a2a4f1a7b96939c1528ce26daf9bd6eae61e6fcf Log: Merge pull request #1184 from ikedam/feature/ JENKINS-19565 _ItWithDropdownDescriptorSelector JENKINS-19565 Pass ${it} to contents of dropdownDescriptorSelector Compare: https://github.com/jenkinsci/jenkins/compare/f71725202159...a2a4f1a7b969

          dogfood added a comment -

          Integrated in jenkins_main_trunk #4415
          [FIXED JENKINS-19565] Pass ${it} and ${instance} to contents of (Revision 86319de87b8469c06cf56ed933cfe85bade4eee4)

          Result = SUCCESS
          devld : 86319de87b8469c06cf56ed933cfe85bade4eee4
          Files :

          • core/src/main/resources/lib/form/dropdownDescriptorSelector.jelly

          dogfood added a comment - Integrated in jenkins_main_trunk #4415 [FIXED JENKINS-19565] Pass ${it} and ${instance} to contents of (Revision 86319de87b8469c06cf56ed933cfe85bade4eee4) Result = SUCCESS devld : 86319de87b8469c06cf56ed933cfe85bade4eee4 Files : core/src/main/resources/lib/form/dropdownDescriptorSelector.jelly

            Unassigned Unassigned
            stephenconnolly Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: