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

dropdownDescriptorSelector is loosing the context of `it`

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            stephenconnolly Stephen Connolly created issue -

            Workaround implemented in 1.9.2

            stephenconnolly Stephen Connolly added a comment - Workaround implemented in 1.9.2
            ikedam ikedam added a comment - Sent a pull request: https://github.com/jenkinsci/jenkins/pull/1184
            ikedam ikedam made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-22467 [ JENKINS-22467 ]
            jglick Jesse Glick made changes -
            Component/s credentials [ 16523 ]
            Labels core credentials stapler credentials stapler

            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_issue_link 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.
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]

            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_issue_link 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 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 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
            jglick Jesse Glick made changes -
            Labels credentials stapler credentials lts-candidate stapler
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-32670 [ JENKINS-32670 ]
            olivergondza Oliver Gond┼ża made changes -
            Labels credentials lts-candidate stapler credentials stapler
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 151019 ] JNJira + In-Review [ 193779 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: