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

          Philipp Nowak added a comment -

          There's an open PR for this here: https://github.com/jenkinsci/jenkins/pull/3083

          Just leaving this here for others searching for `newbie-friendly` and expecting PRs to be linked in the issue. (I had pretty much the same changes done already)

          Philipp Nowak added a comment - There's an open PR for this here: https://github.com/jenkinsci/jenkins/pull/3083 Just leaving this here for others searching for `newbie-friendly` and expecting PRs to be linked in the issue. (I had pretty much the same changes done already)

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

              Created:
              Updated: