Uses Job.getName when creating an ingredient, and cook only supports adding the job to Jenkins top level.

          [JENKINS-20726] JobIngredient does not handle folders

          Jesse Glick added a comment -

          It also has some code which unnecessarily limits its use to Job or even AbstractProject, whereas other parts work with any TopLevelItem & AbstractItem. Making it properly general would allow this ingredient to be used for other top-level items such as Jenkins Enterprise templates, Literate projects, etc.

          Jesse Glick added a comment - It also has some code which unnecessarily limits its use to Job or even AbstractProject , whereas other parts work with any TopLevelItem & AbstractItem . Making it properly general would allow this ingredient to be used for other top-level items such as Jenkins Enterprise templates, Literate projects, etc.

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: