Details
-
Type:
Improvement
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: core
-
Labels:
-
Environment:Jenkins 2.60.3
-
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).
Attachments
Issue Links
- relates to
-
JENKINS-16462 Run parameters do not support folders
-
- Resolved
-
- links to
Activity
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 |
Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
Link |
This issue relates to |
Assignee | Allan BURDAJEWICZ [ allan_burdajewicz ] |
Summary | Improve Run Parameters support with Folders for auto-completion | Improve Run Parameters folders support for auto-completion |
Labels | newbie-friendly |
Remote Link | This issue links to "CloudBees Internal OSS-2445 (Web Link)" [ 18319 ] |
Remote Link | This issue links to "CloudBees Internal CD-388 (Web Link)" [ 19717 ] |
Remote Link | This issue links to "unfinished core PR (Web Link)" [ 22546 ] |
Assignee | Andrei Neagu [ andreineagu ] |
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)