jenkinsci/copyartifact-plugin — pull request #9 by ndeloof (2012-03-06 13:32:27+00:00)
Title: support hierarchical model

Jobs in jenkins are hosted by ItemGroups, that are not necessary Jenkins "root" instance
Cloudbees folder plugin is a sample plugin to use this feature to organize jobs as a nested structure, probably other plugin will as well

This change uses project ItemGroup as reference path when resolving projectName to Job, so that short name will be resoled from the same ItemGroup (folder), and relative path may be used to get jobs from other levels in the hierarchy