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

Improve Run Parameters folders support for auto-completion

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • Jenkins 2.60.3

      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

          [JENKINS-46257] Improve Run Parameters folders support for auto-completion

          Allan BURDAJEWICZ created issue -
          Allan BURDAJEWICZ made changes -
          Description Original: 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

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

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

              Created:
              Updated: