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

Improve Run Parameters folders support for auto-completion

    Details

    • Similar Issues:

      Description

      The RunParameter descriptor accepts a Project name. The autocompletion only works for Items from Jenkins root. The TextField has no context and therefore when jobs are organized in Folders, a full relative path from the Root (or an absolute path) needs to be provided. Even though the job is a sibling:

      We could improve the auto completion to inject the context @AncestorInPath (similar to other auto completion for Project names like BuildTrigger and Parameterized Build Trigger).

      https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/RunParameterDefinition.java#L154

        Attachments

          Issue Links

            Activity

            allan_burdajewicz Allan BURDAJEWICZ created issue -
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Field Original Value New Value
            Description The RunParameter descriptor accepts a Project name. The autocompletion only works for Items from Jenkins root. The TextField has no context and therefore when jobs are organized in Folders, a full relative path from the Root (or an absolute path) needs to be provided. Even though the job is a sibling:

             !run-parameter-on-sibling-job.png|thumbnail!

            We could improve the auto completion to inject the context @AncestorInPath (something to other auto completion for Project names like Build Trigger and Parameterized Trigger).

            https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/RunParameterDefinition.java#L154

            The RunParameter descriptor accepts a Project name. The autocompletion only works for Items from Jenkins root. The TextField has no context and therefore when jobs are organized in Folders, a full relative path from the Root (or an absolute path) needs to be provided. Even though the job is a sibling:

             !run-parameter-on-sibling-job.png|thumbnail!

            We could improve the auto completion to inject the context @AncestorInPath (similar to other auto completion for Project names like BuildTrigger and Parameterized Build Trigger).

            https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/RunParameterDefinition.java#L154

            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Issue Type Bug [ 1 ] Improvement [ 4 ]
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Link This issue relates to JENKINS-16462 [ JENKINS-16462 ]
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Assignee Allan BURDAJEWICZ [ allan_burdajewicz ]
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Summary Improve Run Parameters support with Folders for auto-completion Improve Run Parameters folders support for auto-completion
            danielbeck Daniel Beck made changes -
            Labels newbie-friendly
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2445 (Web Link)" [ 18319 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CD-388 (Web Link)" [ 19717 ]
            danielbeck Daniel Beck made changes -
            Remote Link This issue links to "unfinished core PR (Web Link)" [ 22546 ]
            andreineagu Andrei Neagu made changes -
            Assignee Andrei Neagu [ andreineagu ]

              People

              • Assignee:
                andreineagu Andrei Neagu
                Reporter:
                allan_burdajewicz Allan BURDAJEWICZ
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: