-
Improvement
-
Resolution: Unresolved
-
Minor
-
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).
- relates to
-
JENKINS-16462 Run parameters do not support folders
-
- Resolved
-
- links to
[JENKINS-46257] Improve Run Parameters folders support for auto-completion
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 |
Issue Type | Original: Bug [ 1 ] | New: Improvement [ 4 ] |
Link |
New:
This issue relates to |
Assignee | Original: Allan BURDAJEWICZ [ allan_burdajewicz ] |
Summary | Original: Improve Run Parameters support with Folders for auto-completion | New: Improve Run Parameters folders support for auto-completion |
Labels | New: newbie-friendly |
Remote Link | New: This issue links to "CloudBees Internal OSS-2445 (Web Link)" [ 18319 ] |
Remote Link | New: This issue links to "CloudBees Internal CD-388 (Web Link)" [ 19717 ] |
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)